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
0answers
4 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
16 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
0answers
13 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

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 ...
0
votes
1answer
27 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 .
1
vote
2answers
127 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?
2
votes
1answer
67 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
49 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 ...
0
votes
1answer
28 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
1answer
57 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('...','...');...
0
votes
2answers
101 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 ...
1
vote
1answer
69 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 ...
2
votes
1answer
46 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 ...
1
vote
1answer
78 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 ...
1
vote
1answer
199 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
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?
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
167 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
39 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 ...
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 ...
4
votes
4answers
450 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!
1
vote
1answer
148 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. ...
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
150 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
1answer
289 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.
4
votes
1answer
495 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 ...
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 ...
2
votes
1answer
176 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 ...
1
vote
1answer
69 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
57 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 ...
2
votes
2answers
376 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 ...
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 ...
3
votes
1answer
183 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?
3
votes
1answer
113 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 ...
0
votes
1answer
539 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 ...
3
votes
1answer
382 views

Can I get the current RAM usage in contract?

I want to calculate the ram usage when I conduct an action in contract, if ram is over the limit, I will let the action fail automatically. How can I get the current ram usage in contract?
9
votes
3answers
808 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 ...
2
votes
1answer
100 views

What is the practical process by which BPs change the RAM available on the mainnet?

What is the process that BPs follow to update the RAM size at regular intervals? From what I can tell, the update is made in the eosio_global_state singleton to update the max_ram_size parameter in ...
4
votes
2answers
935 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 ...
9
votes
2answers
554 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?
7
votes
2answers
305 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 ...
4
votes
1answer
423 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?
4
votes
1answer
408 views

What is the typical RAM size of smart contract?

What is the typical amount of RAM needed to store a smart contract? Can you give some examples and their RAM sizes?
4
votes
1answer
145 views

Retrieving from Log Storage vs. RAM

I'm quite new to EOS. As far as I know, some of the output from smart contracts are also stored in the Log Storage. At the same time, I can also choose to store those outputs in RAM. My questions ...
2
votes
1answer
51 views

When you delete a records, where does the information go?

Since you get the ram back , and the records are deleted, then what happens to the information that was recorded on the blockchain? Does it get erased forever? If it does, then it doesn't seem to ...
2
votes
1answer
202 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....