4 ms·
This seems a little backwards to me. Wouldn't you want to make sure you're using every possible byte? Isn't this why Linux essentially uses all available ram fo
by cageface 15y ago
This seems a little backwards to me. Wouldn't you want to make sure you're using every possible byte? Isn't this why Linux essentially uses all available ram for I/O caching? Obviously you don't want to waste memory, but if it's sitting there unused you're probably missing some caching opportunities.
- dspillett 15y agoYes and no. You want to use as much RAM as you have available, but for data not code. You want your code, including the framework it is using, to take as little RAM as possible - then there is more available for data (either held specifically in your structures or cached/buffered by the OS to avoid I/O operations).
- JonnieCache 15y agoYou should be utilising the maximum amount of the RAM that is available, while still requiring a minimal amount for the thing to run fast.