2 ms·
You are correct that code doesn't "expand on memory" but there is no fixed relationship between code size and memory usage. You could certainly write a tiny pr
by michaelmrose 11y ago
You are correct that code doesn't "expand on memory" but there is no fixed relationship between code size and memory usage. You could certainly write a tiny program that uses a ton of memory pretty easily.
- coldtea 11y agoYeah, I say that: "a trivial 5 line program that just mallocs can use TB of memory".