Questions tagged [ram]

RAM, here, refers to the memory in which the EOSIO blockchain state is stored. Questions under this tag may relate to EOSIO RAM in different contexts: consumption, persistent storage, costs, internal market, accounting, performance, technical details, and others.

Filter by
Sorted by
Tagged with
1
vote
1answer
14 views

Is it possible to do a demo with testnet without buying EOS RAM?

I'm a rookie when it comes to developing Dapps. I'm thinking of doing a project using EOSIO. I just need to do a demo to showcase my project so I don't need to deploy it for others to use. I don't ...
0
votes
1answer
13 views

How does the Drive resource in EOS work? Can we store alot of text data and use it like a mysql database?

Ram is expensive for storing user data. EOS has the drive resources for storing data. How much does it cost compared to ram? And is it intended to be used like a mysql database for storing user data? ...
1
vote
2answers
142 views

How to free up used memory

I have this picture for my account memory: quota: 220.4 KiB used: 207.5 KiB I want to free the memory and sellram. Is it possible, and if yes, how to do that?
1
vote
1answer
83 views

How the RAM in Eos nodes works?

I want to create my own private Eos chain for my own specific use case which is very RAM hungry. Imagine that I have a network of nodes having, for example, 32GB of ram. But I have two contracts with ...
0
votes
1answer
19 views

Is it possible to add a secondary index to a table that already exists and contains entries?

If a table already exists in a smart contract on-chain and the table is full of entries, is it possible to make a secondary index for that table? Or would you have to create a new table and migrate ...
0
votes
1answer
28 views

Is it possible to see the RAM delta of a multi_index table operation, or see who is currently paying for a row in a table

My question is in the context of smart contract development, so I'm looking for solutions that work within smart contracts: 1st: Is is possible to see the RAM delta of either an individual ...
1
vote
1answer
215 views

EOS RAM requirement for hosting a full node?

https://medium.com/@bytemaster/eosio-ram-market-bancor-algorithm-b8e8d4e20c73 In this article, Dan pointed to the fact that "Keeping RAM scarce (64 GB) lowers the cost of hosting a full node, but ...
0
votes
0answers
14 views

I want to sell RAM using 'sellram' of eosio.I have written an eosjs code for the same, but it is giving error

async function sellRam(account_name, sell_bytes){ try{ const result = await api.transact ( { account: 'eosio', name: 'sellram', authorization: [ { actor: account_name, ...
0
votes
1answer
26 views

Different of configuration on computer's BPs?

I have a question about configuration of computer's block producer(BP). My question is: In 21 BPs, if have some BPs which have lower configuration of computer than other, they will never be approved ...
1
vote
2answers
3k views

How to increase billable CPU time?

I tried the execute a transaction to update public keys for my account. But I got the following error: billed CPU time (857 us) is greater than the maximum billable CPU time for the transaction (165 ...
0
votes
1answer
31 views

How to remove deployed smart contract?

I want to sorta "undeploy" smart contract as it was not deployed ever. If it is possible, I hope it will cleanup account's RAM. And I'm not talking about freezing .
2
votes
1answer
68 views

What is the RAM price on Jungle testnet

I want to buy 250KB of RAM on Jungle testnet but don't know the price. in this thread the answer suggests the command cleos --url <jungle-testnet-url> system buyram <payer-account> <...
1
vote
0answers
20 views

Which of the following is better for CRUD in a table?

I have two approaches to save data on blockchain, but I don't know which one is the best from time as well as space complexity perspectives. I want to store key value pairs in a table. First Approach:...
2
votes
1answer
50 views

Why suddenly high RAM with SWAP usage nodeos

Why suddenly my nodeos memory(ram with swap) usage been 100%? and memory full usage then oop Am I setting chain-thread to 18? My Nodeos Ver: v1.8.0-rc2 Sync status completed full sync nodeos ...
4
votes
1answer
500 views

I'm still wrapping my head around EOS RAM and CPU resources. How do they work exactly?

Coming from other blockchains, renting or buying ram / cpu on EOS is a weird concept to grasp for now. From my understanding, an EOS account can choose to buy ram or cpu? Can they not buy any at ...
5
votes
1answer
519 views

How to calculate the RAM size of a contract in EOSIO and then i can know how much EOS i need to pay for every contract

How can I calculate the RAM size of a contract in EOSIO? I mean, is there any tool from EOSIO? Could this tool help me to know how much EOS I need to prepare for every contract.
0
votes
1answer
29 views

what are supported STL types in tables?

What are the supported STL types in tables? I'm specifically curious about std::pair
0
votes
2answers
104 views

Confused about the differences between NET and RAM on the EOS network

I'm trying to wrap my head around the differences between the 2 resources on the EOS network: NET and RAM. My understanding is that "NET" represents the share of the entire EOS blockchain that we are ...
5
votes
2answers
2k views

Clearing RAM tables of eosio.token contract

What I am trying to do is clear the RAM table completely. This question is not a duplicate since it is asking for a full and a working solution. The contract that I was executing filling the RAM ...
1
vote
1answer
70 views

How to reclaim ram?

If a user is the authenticator when adding a row to a table, on chain, they supply the ram required to instantiate the new row. In the case of certain tokens, mainly airdropped tokens, the contract ...
0
votes
1answer
60 views

EOSLime with Kylin: Account Creation

EOSLime does not seem to be able to create accounts with Kylin chain thru my method. It produces an error that there is insufficient RAM. My method: let default_a = eoslime.Account.load('...','...');...
4
votes
2answers
949 views

How to solve “Account using more than allotted RAM usage”?

I am trying to unstake my EOS tokens using system undelegatebw. I got the error Error 3080001: Account using more than allotted RAM usage and account xxxxx has insufficient ram; needs 7973 bytes has ...
2
votes
1answer
47 views

How to view how much RAM users are utilizing

RAM can either be used or unused as seen by cleos -u https://api.eosnewyork.io get account eosnewyorkio created: 2018-06-10T13:04:19.500 memory: quota: 92.66 KiB used: 28.04 KiB ...
2
votes
1answer
158 views

How to buy more RAM without CPU?

Currently I am running low on CPU and would love to borrow some from Chintai but it says I have to little RAM to be able to complete the transaction (which is true, I am running very low). However, in ...
2
votes
2answers
387 views

How can I know if I pay ram for a row in a table?

I am creating a non-fungible token. While I own the token, I pay ram for it. After transfer of the token the new owner should pay for it. My token contract updates the payer as soon as the new owner ...
9
votes
3answers
823 views

How to increase RAM on Jungle testnet?

My contract requires 350KB of RAM on the blockchain but it seems that jungle testnet only provides around 200KB of RAM size. Can the RAM on testnet be increased somehow? The error I am getting while ...
0
votes
1answer
33 views

How much does it cost to create a new account, which only needs to hold token balances?

Assuming the new account won't be performing any actions, what is the bare minimum of EOS required to create the new account? How much RAM? How much CPU/NET needs to be staked/delegated?
0
votes
1answer
26 views

How much does it cost to add a new permission to an account?

When adding a new key pair to an existing account, how much RAM, CPU, and NET is required?
9
votes
2answers
570 views

How can I see where I'm using my EOS RAM?

I have around 5KB of EOS RAM used. I know that about 3KB are used in the account creation , but.... How can I see which contracts and tables the rest of the EOS RAM used for?
1
vote
1answer
171 views

Can I use MongoDB for storing data locally instead of storing in RAM?

I found that storing data in EOS RAM is sometimes expensive in turn makes it impractical. Can I use MongoDB for storing such data locally instead of storing in RAM?
1
vote
1answer
154 views

high RAM usage nodeos && mongod

I run a non-producing node with 8GB RAM on Ubuntu 18.04 and 4 CPU cores, no Docker(yet). Overnight mongod crashed, not sure why. I just had to start mongod from the /opt folder again and it worked. ...
4
votes
4answers
463 views

Why do token transfers on EOSIO consume RAM?

Very basic question but I just can't figure out why token transfers on EOS are stored in (expensive) RAM and not just simply in the blockchain? Please help me understand!
2
votes
1answer
193 views

Where we can get inline action info for buy ram contract?

when we invoke buyram contract to buy some rates, it will call inline action for transfer ram fee. I can see the buyram action on block, I don't see inline action on that. my question is that where I ...
1
vote
1answer
40 views

Why don't need ram_payer for erase method in mulit_index class?

mulit_index class has three methods (emplace, modify, erase) to update a table. emplace and modify methods need to select ram_payer. But erase method doesn't need to select it. I think these methods ...
3
votes
1answer
187 views

Where is my RAM currently allocated to?

Is there a way I can check where my RAM is currently allocated to / being used for? And how can I re-use it for other things?
2
votes
1answer
47 views

Can you upload binary files to RAM?

Let's say I wanted to create a music midi dapp player where I store all the .midi files in RAM or should I store it in the blockchain (log?). Example: http://www.midishrine.com/index.php?id=85 Let's ...
13
votes
2answers
3k views

How to get current (last) RAM price?

We want to be able to measure (with limited precision) how much EOS we will need to run our smartcontract. Let's say we know how much RAM we need, but do we calculate how much will it cost? We can ...
1
vote
1answer
42 views

As of 2018 October, what has EOS ram prices been?

It's 2018 october, what has the ram prices been like? Is there a chart to show the historic prices?
1
vote
1answer
61 views

How does one see how much ram I have used? And how can I recover the used ram?

From my understanding ram is like drive space in eos. And I'm assuming when we make transactions, that ledger data is stored in ram? Is there a way to delete what we used in ram to empty it out so we ...
2
votes
1answer
294 views

Why does it cost money to create an account?

Sites like https://namevault.co/ are charging to create an account. How can I do this myself without paying anyone? I have some EOS on an exchange already.
1
vote
1answer
41 views

Can we store documents in a table.If yes, Is this a right approach?

I want to store some documents in my smart contract that some users upload. Can I use table for storage? But second thing is table resides in RAM and this doesn't seems good to store data in Ram. Is ...
1
vote
0answers
26 views

keep non fungible token in blockchain log

The dapp we are working on will have billions of NFT tokens. Our nft token is something that is added to blockchain only when user buys it. Before that it 'sits' in off-chain db. For the sake of ...
9
votes
1answer
573 views

Removing contract to release RAM - the smallest contract possible

Check our github https://github.com/irespo/irespo/tree/master/irespo/iresporemove I did a sample contract with one empty action, but it is still 30 KB. I tried a contract without action, but did not ...
2
votes
1answer
181 views

Ram used in transactions?

Can anyone specifically tell me where we are using the ram suppose I am a dapp developer and I have staked some ram for accounts I am going to create Questions are For every transaction made by ...
2
votes
1answer
321 views

How can I figure out what the total ram of the system currently is?

Is there a way to know what the total system ram currently is? Is it the balance in bytes? $ ./cleos -u http://localhost:8080/ get table eosio eosio rammarket { "rows": [{ "supply": "...
7
votes
2answers
311 views

Is there a flaw in deciding who can pay for RAM?

Lets say I interact with an action from a smart contract, if I'm not careful and didn't read or couldn't understand the source code for the smart contract, is it not possible that the contract could ...
1
vote
1answer
71 views

Can I create private eos blockchain without using RAM trading?

I would like to have a private network of servers that produce blocks and do not need to restrict resources.
2
votes
2answers
60 views

What does the “used RAM” number mean?

After I type Cleos get account "Account name" I get the response: permissions: owner 1: 1 EOS8Z5Yu8cRmWKcW85QjWRtgcSJuGRapuKbp3Vkdm69ZcUYA5yYMk active 1: 1 ...
4
votes
1answer
68 views

When someone sells his RAM to another account, how it would clear from previous contracts?

I know unlike CPU and Net bandwidth, RAM doesn't refresh itself. we also know that we can exchange our RAM with EOS. But when someone sell his RAM to anoher user. So in this case what happen how ...
4
votes
1answer
426 views

How can I transfer RAM from one account to another?

I have account with some kilobytes of RAM and I need transfer a part of the RAM to another account. What should I do?