3 ms·
It can't look into the future, but it certainly could use the information from the past. Has this application already allocated 90% of the memory? Has it been
by magicalhippo 7y ago
It can't look into the future, but it certainly could use the information from the past.
Has this application already allocated 90% of the memory? Has it been steadily growing the allocation without releasing much back? Well then, why let the system run out completely? Why not stop it at say 10% or 5% left?
- JoshTriplett 7y agoThat application might be the whole point of the system and should get to use every last drop of RAM.
- magicalhippo 7y agoFor a desktop OS that would be very unusual in my experience. For a server, perhaps, but I'd say even for a server it would be better that say the core application returns a 500 internal error or whatever than forcing the system to start killing random processes.