4

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 producers clears RAM?

I am little confused here with above two statement.

Let me know if this question is suitable to ask over here.

3
  • 1
    you can't sell allocated ram. you need to free your ram before selling-it's not the producers who do that
    – confused00
    Commented Sep 4, 2018 at 14:30
  • So for that I have to remove all tables and codes from my contracts? Commented Sep 5, 2018 at 4:16
  • 1
    if it's your contract that uses your ram, you need to update it to delete the entries in the multi index for which you paid or change the payee. if it's someone else's contract, they need to expose an action that allows you to do that
    – confused00
    Commented Sep 5, 2018 at 14:32

1 Answer 1

2

confused00 should have made this response as he/she is correct.

RAM must be freed before you can sell it.

For a dev this means you have to release your claim on the RAM to sell it

For an end user this means you need to see how the application you're dealing with has consumed your RAM and execute the command that is hopefully there to "free" that RAM so that you may sell your RAM.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.