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
0answers
7 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 ...
0
votes
1answer
22 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 ...
1
vote
1answer
34 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
65 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 ...
1
vote
2answers
395 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
120 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
49 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
337 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 ...
6
votes
1answer
197 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 ...
1
vote
0answers
18 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 ...
1
vote
1answer
32 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
0answers
20 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 ...
1
vote
1answer
33 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 ...
2
votes
1answer
230 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
1answer
23 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 ...
0
votes
0answers
13 views

Where does the RAM comes from?

The RAM is the resource to keep information of a Dapp user in the blockchain memory. Where does this comes from? Who does release it? Who determine its supply and how?
0
votes
1answer
16 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? ...
0
votes
1answer
34 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 ...
2
votes
2answers
5k 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
49 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
88 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
28 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
75 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
577 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
546 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
34 views

what are supported STL types in tables?

What are the supported STL types in tables? I'm specifically curious about std::pair
1
vote
2answers
203 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
87 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
66 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
1k 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
55 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
181 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
425 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
962 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
41 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
33 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?
10
votes
2answers
681 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
201 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
172 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
559 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
204 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
45 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 ...
4
votes
1answer
209 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
50 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
48 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?
2
votes
1answer
66 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
399 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
47 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 ...