[frs-148] I killed a long running request that was using a lot of memory but it hasn’t returned to normal. Shouldn’t the JVM clear the memory?

Java's garbage collection algorithm decides when it is optimum to collect unused memory. It is not uncommon for a long period of time to go by before Java collects unused memory. Java only needs to collect when it does not have enough memory to complete a memory request, and will often leave the memory as-is because garbage collection is an expensive processing action.

When you kill a request you are asking FusionReactor to request Java to terminate the request. It is possible is (although very unlikely) that killing the request has left some memory uncleared. Consider restarting the ColdFusion server at some moment when usage permits.

Issue Details

Type: Technote
Issue Number: FRS-148
Components: CPU + Memory
Resolution: Fixed
Last Updated: 25/Jun/07 12:22 PM
Affects Version:
Fixed Version:
Related Issues:

FRS-23: Why do I get Crash Protection low-memory alerts even after killing the request which was taking up all the memory?