Mantis - Resin
Viewing Issue Advanced Details
4985 feature always 03-12-12 10:37 06-18-12 16:23
cowan  
ferg  
normal  
closed 4.0.26  
fixed  
none    
none 4.0.29  
0004985: Free memory on out-of-memory condition
Upon detecting an out-of-memory condition, Resin should attempt to free some memory by de-allocating buffers. We could also purposely allocate a largish chunk of memory in an array during startup, and then free this array. This should be performed before health actions execute, with the intention of freeing up enough memory to allow thread dump, heap dump, jmx dump, and pdf report to execute.


Notes
(0005876)
ferg   
06-18-12 16:23   
added ShutdownSystem memory free tasks and added a task to free the BlockManager buffers.