Skip to main content
8 events
when toggle format what by license comment
Sep 9, 2023 at 11:33 comment added Imran Sheikh Exactly what i was looking for, I was confused why its not working as expected. Thank you for your help and effort.
Sep 9, 2023 at 11:17 vote accept Imran Sheikh
Sep 9, 2023 at 10:32 comment added Serban My ...%account_pubkey% | jq -c | wc -c example was a very rough estimate of what a deserialized account looks like in memory, but I see you're looking for a more exact answer. My initial answer was meant to show that your problem is heap space not account space. Updated my answer to include why heap memory runs out faster than expected.
Sep 9, 2023 at 10:31 history edited Serban CC BY-SA 4.0
added 1112 characters in body
Sep 9, 2023 at 9:58 history undeleted Serban
Sep 9, 2023 at 9:09 history deleted Serban via Vote
Sep 9, 2023 at 6:18 comment added Imran Sheikh Thanks for your reply. Maybe I am missing something or just lack of knowledge around this. How Heap size differs from the account size we are calculating in anchor, let's say we added 100 friends, after adding 100 friends account size should be 3300 + 45 = 3345, but when we are getting size with ...%account_pubkey% | jq -c | wc -c command its returning 6873. Isn't it should be the same when loaded on heap or Why is the huge difference ? Sorry if my questions are silly.
Sep 8, 2023 at 17:53 history answered Serban CC BY-SA 4.0