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
0 votes
0 answers
13 views

How do I set up EOSIO to make every transaction free of NET/CPU/RAM fee

How do I set up EOSIO to make every transaction free of NET/CPU/RAM fee. I have checked many system contract code, but still no clue.
Gasai Maple's user avatar
1 vote
1 answer
110 views

How to calculate EOSIO ram price? [closed]

Hello i want to know how we can calculate eosio ram price is there any rpc call available or any libraray like eosjs.
Awais Sakhi's user avatar
0 votes
1 answer
71 views

How much RAM does a smart contract consume?

I have a smart contract compiled resulting in a 10,961 Bytes wasm file and a 2,372 Bytes abi file. However, when deploying the contract on chain it consumes about 110,000 Bytes which is almost 10x the ...
mschoenebeck's user avatar
2 votes
0 answers
69 views

How do I calculate my used and total RAM balances?

I need help calculating how much RAM I've used and how much RAM I have (total) I've read these questions and their answers: How can I see where I'm using my EOS RAM? Where is my RAM currently ...
ma11hew28's user avatar
  • 121
0 votes
1 answer
115 views

Calculate EOS account resources CPU, RAM and NET in percentage

I am designing my own EOS dashboard in which I want to show the respective account's resources CPU, NET and RAM in Percentage as they are in the attached picture (from https://local.bloks.io/): when ...
Varsh's user avatar
  • 307
1 vote
0 answers
21 views

How to set a eos contract on jungle network [duplicate]

As I trying to deploy a contract on Eos Jungle test network using cmd. But I failed to run. Command : cleos --url https://jungle3.cryptolions.io:443 set contract tulsipadalia addressbook -p ...
Isha Padalia's user avatar
1 vote
0 answers
42 views

Where are accounts and smart contracts stored?

I'm a bit confused by answers to the following questions: Where are new accounts stored? Where is the smart contract is stored How can everything be stored on RAM at all time? 3KB for each user means ...
towi_parallelism's user avatar
6 votes
2 answers
305 views

When to use RocksDB compared to Chainbase?

The EOSIO developers website says: Nodeos stores the transaction history and a current state. The transaction history is stored in the blocks.log file on disk. State, which is changed by the ...
Phillip Hamnett - EOS42's user avatar
1 vote
1 answer
78 views

Difference between _self and get_Authorization and RAM optimization

I have build a Smart Contract with 14-15 Tables for I/O. It will be used to store important data of our platform. I have used require_auth(_self) as this contract will not be used by 3rd person. It ...
Harsh Mehta's user avatar
1 vote
1 answer
43 views

Altering userres and delband tables after set_resource_limit(-1, -1, -1)

For a private network to remove ram net cpu i set the resource limit to unlimited for each newaccount created. By chaging set_resource_limits to set_resource_limits( newact, -1, -1, -1 ); //unlimited ...
hassan ahmed's user avatar
0 votes
1 answer
206 views

EOS Blockchain How to free up RAM or optimize Smartcontract

We have developed a small program that uses the EOS blockchain and we are storing some of our data in an EOS smart contract. Together with a UUID we are storing the object status. Our goal is to have ...
EOSdev6416's user avatar
-1 votes
1 answer
25 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? ...
Patoshi パトシ's user avatar
1 vote
1 answer
59 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 ...
hongmei's user avatar
  • 11
0 votes
1 answer
137 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 ...
Phillip Hamnett - EOS42's user avatar
0 votes
1 answer
119 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 ...
Pocket Quads's user avatar
0 votes
1 answer
160 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 .
Tigran Sahakyan's user avatar
2 votes
2 answers
806 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?
Tigran Sahakyan's user avatar
2 votes
1 answer
112 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> <...
Tigran Sahakyan's user avatar
1 vote
0 answers
53 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:...
Karim Elghamry's user avatar
2 votes
1 answer
147 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 ...
gafani's user avatar
  • 61
0 votes
1 answer
37 views

what are supported STL types in tables?

What are the supported STL types in tables? I'm specifically curious about std::pair
errolflynn's user avatar
0 votes
1 answer
79 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('...','...');...
errolflynn's user avatar
1 vote
2 answers
261 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 ...
tg_crypto's user avatar
1 vote
1 answer
109 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 ...
Byte Disciple's user avatar
2 votes
1 answer
104 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 ...
telos nut's user avatar
1 vote
1 answer
163 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 ...
Tomas Batrla's user avatar
1 vote
1 answer
528 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 ...
Hitit's user avatar
  • 56
0 votes
1 answer
59 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?
Tyler J Kuhn's user avatar
0 votes
1 answer
35 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?
Tyler J Kuhn's user avatar
1 vote
1 answer
41 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 ...
user avatar
1 vote
1 answer
235 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?
Muhzin's user avatar
  • 510
1 vote
1 answer
58 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 ...
Winor's user avatar
  • 35
2 votes
1 answer
67 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 ...
Patoshi パトシ's user avatar
4 votes
4 answers
637 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!
mschoenebeck's user avatar
1 vote
1 answer
204 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. ...
Marcel's user avatar
  • 383
1 vote
1 answer
64 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?
Patoshi パトシ's user avatar
2 votes
1 answer
78 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 ...
Patoshi パトシ's user avatar
2 votes
1 answer
192 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 ...
Flint285's user avatar
2 votes
1 answer
475 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.
Patoshi パトシ's user avatar
4 votes
1 answer
648 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 ...
Patoshi パトシ's user avatar
1 vote
1 answer
48 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 ...
Nirdesh Kumar Choudhary's user avatar
1 vote
0 answers
32 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 ...
Pasha's user avatar
  • 41
3 votes
1 answer
294 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 ...
yash vadhvani's user avatar
1 vote
1 answer
82 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.
metaboy's user avatar
  • 51
2 votes
2 answers
123 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 ...
JustinZ's user avatar
  • 295
2 votes
2 answers
508 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 ...
friedger's user avatar
  • 833
4 votes
1 answer
72 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 ...
Nirdesh Kumar Choudhary's user avatar
4 votes
1 answer
271 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?
nickl's user avatar
  • 41
3 votes
1 answer
140 views

Ethereum event logs equivalent for EOS

One of the solutions for saving quite a lot data in Ethereum Smart contracts is to log data by emitting event, which saves our gas. Is EOS quite similar? Does it provide us with the very same ...
O. Shekriladze's user avatar
0 votes
1 answer
704 views

What is the ChainBase database used for?

EOSIO appears to make use of the Chainbase database for various functions in the codebase. What is this used for and how does it relate to the RAM concept in EOSIO? Is it simply the database used to ...
confused00's user avatar
  • 5,554