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
2
votes
1answer
206 views

How should developers make money to cover cost of EOS CPU, bandwidth, and RAM?

So EOS puts the cost of transactions and storage onto the developers. ETH puts the cost onto users. Because these are decentralized apps, in theory, no one should be making a lot of money off of them....
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 ...
2
votes
2answers
153 views

Can we move the RAM tables to an IPFS Storage (and back), and therefore solve the RAM costs problem? -AKA Swap

The storage should appear on EOS by the end of 2018. https://github.com/EOSIO/Documentation/blob/master/EOS.IO%20Storage.pdf Would it be possible to simply move the ram-tables to a storage, once we ...
2
votes
1answer
232 views

Do I get RAM back after deploying a contract?

Deploying a contract uses RAM. If I deploy a contract, am I going to get the RAM back? In not, is there any other way to get it back? EDIT, ANSWER, YES: Just re-deploy another contract instead, that ...
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
126 views

How to get current RAM price inside a contract in C++?

How can I programatically get the current(last) RAM price inside an EOS smart contract in C++? I need to handle the data inside the smart contract for an experiment.
4
votes
1answer
136 views

How RAM was allocated in dapp and how to optimize the table?

We are doing dapp development on EOS. And it seems cost more ram than we evaluated. How much ram will be used when stored a table record? And how to optimize the table structure to save the ram? See ...
3
votes
1answer
228 views

How can we know the usage of ram for eos?

Is there exist an table which we can know how much ram we consumed? Or is there exist an api can help for this ?
1
vote
1answer
344 views

Can I build EOSIO with less than 7GB of RAM? | Answer: Yes

System Requirements (all platforms) 7GB RAM free required 20GB Disk free required I was going to ask this question because I didn't see it on here, but I actually wound up figuring it out myself, so ...
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 ...
3
votes
1answer
247 views

If possible we can know the historic price for EOS ram from block?

is there exist a table so that we can know historic price from EOS mainnet? Or if we want to know the price of EOS Ram on specific time, which data we can get from EOS mainnet? I know https://eos....
2
votes
1answer
168 views

How can the payer for the modified table = 0?

statstable.modify( st, 0, [&]( auto& s ) { s.supply += quantity; }); Here is some code from the eosio.token contract. How can the payer be 0? what does it mean? Here are the params for ...
1
vote
1answer
202 views

Where does the initial connector balance for the Bancor RAM Algorithm Come From

Update 7-12-18: Dan's changes | A Three Step Plan for Lowering EOS Account Creation Costs: Code updates | https://github.com/EOSIO/eosio.contracts/pull/9 Added setramrate to eosio.system/abi/eosio....
2
votes
1answer
81 views

How is the ram reallocated when a table is modified?

if i do : //usera creates a new row in the table table.emplace(usera, [&](auto &s) { s.name = “Alice”; }); and then do: //userb then modifies the same row that usera created table.modify(...
4
votes
1answer
80 views

Why is ram usage different when creating same accounts?

I am trying to understand why ram usage is different for the same task. I executed cleos system newaccount --stake-net "0.0010 EOS" --stake-cpu "0.0010 EOS" --buy-ram-kbytes 3 It succeeded but ...
2
votes
1answer
66 views

Can the memory used by an account be fully claimed and reused?

I know that we will need to buy around 4k of ram for each new account. When the account gets created it uses around 3k to store keys and other internal information. I know that this account can't ...
3
votes
1answer
270 views

How to Find Ram Market Bancor Connector Weight (CRR)

My question is how to discover the current CW for the bancor algorithm in the current RAM market. Below you can see where in the system contract RAM and the RAMCORE token is created for the market ...
3
votes
1answer
80 views

What are blockchain producers’ incentives to add additional RAM?

If payments for RAM go to the network as a whole, what is the incentive for block producers to increase their physical RAM?
3
votes
1answer
787 views

What is the Bancor algorithm and how it is used for RAM trading?

In simple terms, what is the Bancor algorithm, and how does it work? In particular, how is it use to trade RAM?
1
vote
1answer
195 views

How to understand RAM and log storage from the view of Smart Contract?

The knowledge on RAM and smart contract is obscure to me. In white paper, RAM is defined and I know now there're only 64GBs in total. However in developer manual https://developers.eos.io/ it never ...
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
174 views

IPFS Hash Storage In RAM Cost/Hash Question

According to this, an IPFS hash can be represented with 32 bytes. Would these hashes need to be stored in RAM? If so, is it limited to 1 file stored per hash? Would it be ~$0.20/hash to store in ...
1
vote
1answer
230 views

How much memory do I need to synchronize my nodeos with the mainnet and use it say for a year?

Maybe this is not a precise question, but could you provide a rough estimation of how much memory (both RAM and hard drive) do I need to maintain my local node in synch with the mainnet for a year? I ...
3
votes
1answer
246 views

Who will get the ram back when delete records?

In EOS, when create a table record, someone will pay the ram, and when modify the record, maybe someone else will pay the ram, and when delete the record, who will get the ram back? the creator or the ...
2
votes
1answer
729 views

How can I sell used RAM in EOS?

I'm conducting an airdrop to every eos holders(ie. about 163,000). I've done a requirement estimation and it has been found that around 20 mb ram is needed. 464.28 EOS is required to buy that much of ...
1
vote
1answer
242 views

Does the RAM burn out forever or is it reusable after some time?

I would like to purchase RAM to do some actions such as smart contract executions as well as token transfers. On Ethereum, you would have to pay for gas and the gas burns forever. Am I going to be ...
0
votes
1answer
298 views

How do I add more RAM on existing account?

-All of my EOS is staked for CPU and NET bandwidth, should I un-stake some of it first, and how ? -What command should I execute with a BP to buy, lets say, 600 EOS worth of RAM on an existing ...
1
vote
0answers
105 views

Eosflare.io shows the wrong Connector Balance for EOSIO.RAM account?

It currently shows 66730 EOS (http://eosflare.io/account/eosio.ram), but here in the first answer (How to get current (last) RAM price?) is said that it should be 1021789.6640 EOS (see quote.balance). ...
3
votes
1answer
866 views

How can increase RAM or reset it?

EOSflare.io shows I am using all of the RAM (7.94 KB / 7.95 KB). Now all my transactions are failing. I assume its because of maxing out the RAM? If so, when does EOS.IO reset RAM usage or do I need ...
5
votes
1answer
811 views

How to calculate memory quota, net bandwidth and cpu bandwidth limit in an account?

Suppose account aaa will have a total of 10 EOS with 1 EOS staked for net bandwidth and 1 EOS staked for cpu bandwidth. And no other account will delegate resources to account aaa. How can we ...
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": "...
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 ...
2
votes
2answers
100 views

What EOS Chain Information/Interaction do you wish was more publicly available?

I've decided to build a website that will display chain metrics as it relates to EOSIO. I am thinking of integrating with Scatter. My initial ideas are to show: Cost Per Byte of RAM currently and ...
0
votes
1answer
112 views

How RAM is managed between PBs

In EOS smart contract developers are able to utilize the database functionalities. According to official document they are RAM. So I wonder if this is distributed database which included in Blockchain ...
5
votes
2answers
274 views

Staking dapp user EOS tokens

It's possible for a smart contract to stake EOS user account tokens? And then rent them or apply them as the smart contract owner wants, to be able to generate some revenue or to pay for RAM if user ...
2
votes
1answer
115 views

Staking for Ram: burden on developers or users?

When I'm setting up an application, do I have the option of making use of the Ram the user have or would I have to stake ram for the user? What if some users have staked for ram and some have not?
3
votes
1answer
151 views

Do dApp developers have to pay for contract instances RAM as well?

I wonder if you also need to take contract instance RAM usage into account as a dApp developer on top of estimating the persistent storage RAM usage (since it will have to be temporarily stored in the ...
6
votes
1answer
132 views

What's the purpose of RAMEOS relay?

EOS.IO formulas for converting EOS to RAM and viceversa imply that the quantity [RAM reserve]x[EOS reserve in connector] remains constant. It was very complicated to read this from the code! ...
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.
9
votes
2answers
290 views

Is there a math error in Bancor paper?

According to Dan Larimer here https://github.com/EOSIO/eos/issues/3032 "The Bancor Protocol math is wrong in their paper". However I am reviewing the details here https://goo.gl/HXQBUr and it seems ...
6
votes
2answers
486 views

EOS Ram allocation

As the ram allocation model changed in Dawn 4.0, it looks like EOS token holders are not allocated any "free" ram, it has to be bought using EOS native tokens. Question is, who owns the ram initially?...
16
votes
3answers
3k views

How does buying and selling RAM work on EOS?

Let’s suppose a dApp needs 8GB RAM to support its userbase and the developer has 1000 EOS tokens. Can the tokens be used as RAM by staking or would she have to buy RAM separately? Later if the ...
6
votes
1answer
235 views

Why the price of RAM will drop 1000 times?

As the chat shows, the price of RAM will be much lower if fractional reserve. But I don't understand how this happens? Any thoughts?

1
2