Chris [list of emoji] on Nostr: nprofile1q…hch8f It depends on what you mean by "raw amount of memory". There's 1. ...
Published at
2025-03-30 13:24:09Event JSON
{
"id": "0487686f2a1ebc891531b485f295d87f5cd4ed867ddff3f125a8da1ffb9c7457",
"pubkey": "2161b3fc29b3ceed0eff034daa003b0b6e8442457120636aefab28406545028b",
"created_at": 1743341049,
"kind": 1,
"tags": [
[
"p",
"f5c3d443bb291356aef4afb17f061e55f1d5e90ac48be6fbe4b8ce7777cebb3d",
"wss://relay.mostr.pub"
],
[
"p",
"f04b0f60b1e69714e03d66513dc56d9bdff6c470d170f931176efd0ba100cd04",
"wss://relay.mostr.pub"
],
[
"e",
"4b63f25fb57413a0000956bed6ff62db50b0764832187df67e69144c1ce319cc",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://freeradical.zone/users/suetanvil/statuses/114251599015516008",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq7hpagsam9yf4dth547ch7ps72hcat6g2cj97d7lyhr88wa7whv7schch8f \n\nIt depends on what you mean by \"raw amount of memory\". There's\n\n1. Memory requested from the system via `brk()`.\n\n2. Memory managed via the language's allocator (e..g. new/malloc/etc).\n\nIf I do\n\n char* x = new[1000000];\n delete x;\n x = new[1000];\n\nThe process will (probably!) still be holding onto that 1000000 bytes because the first `new` will have requested that RAM from the system and not released it.\n\n(ctd)",
"sig": "d213e50d76262fb73b8f2d520c4858f57479d27039363de95eb2b9a7a756d0032c85dbacb4fe2406b9c0cfc5333f8eb19435cdabfb5777dd76aa6d66e4317e7f"
}