ColdFusion using 2-3x more memory since service restart
- March 16, 2023
- 2 replies
- 658 views
Hi,
Approximately one week ago we had an issue with one of our ColdFusion 2018 servers (something along the lines of "could not process Application.cfc"), which required a restart of both instances running on the server. I am not sure if this part is relevant but when restarted the first instance came back fine, while the second would not start for approximately 10 minutes (it took I think three separate service "start" attempts before it eventually came back online).
Prior to the restart we had consistent memory ussage on both instances of ~10-12% (average daily), while it has now been in the 25-40% daily average range for the last week according to FusionReactor. While there were minor changes to three cfm/cfc files on the same day, I don't believe they were anything that would explain this increase. Other metrics like CPU usage appear to be consistent with what they were previously.
Both instances have a minimum JVM heap size of 256MB, and a maximum of 5120MB. The server itself has 24GB total available, with approximately 10GB currently available.
Does anyone know what might explain this increase in memory usage? I am not even sure if the increase is actually an issue or whether the JVM memory management is now just working a bit differently for some reason? I guess my main concern is if there has now been a memory leak introduced, although the daily usage seems to be a bit up and down so I am not sure about that either.
I have attached a screenshot of the Heap Memory Graph for one of the instances from FusionReactor for reference.
Regards,
Jeremy.
