4 ms·
Every instance of a program will use an amount of ram equal to the uncompressed size. If the application is uncompressed, the uncompressed executable will be
by themerone 3y ago
Every instance of a program will use an amount of ram equal to the uncompressed size.
If the application is uncompressed, the uncompressed executable will be loaded into ram 1 time and be reused by every instance of the application.
- ashishb 3y agoAny source that you can cite for this? I'm not saying you are wrong. I'm just curious to see more proof of this.
- themerone 3y agohttps://stackoverflow.com/questions/9219244/why-does-my-application-use-more-memory-after-i-compress-it-with-upx-and-what-c https://stackoverflow.com/questions/9219244/why-does-my-appl...
- mikepurvis 3y agoAlso impacts startup time. Really it's only appropriate for situations like games where you're very confident there will be just one instance of it, and it'll be long-running. And even then, it's of dubious value when game install footprints are overwhelmingly dominated by assets rather than executable code.
- foobiekr 3y agoContainers really bust this model.