Copy link to clipboard
Copied
Hi All,
Can any one pls explan what is memory leak. And how we can find a work around. I am facing this issue while migrating from CF 7 to CF 10. I have migrated my application from CF7 to CF10. We have an instance and in that we have almost 20 applications running. After Cf10 migration we are getting the below error : "Error","tomcat-ajp-179","06/23/13","01:03:42","pmt","Java heap space The specific sequence of files included or processed is: /mnt/cfhacontent/[instance-name]/[app_name]/index1.cfm, line: 565 " java.lang.OutOfMemoryError: Java heap space
Your help is well appreciated.
Thanks.
Copy link to clipboard
Copied
Hi Abdul, Was your CF7 32 bit and CF10 is 64 bit? If so perhaps add some more RAM capacity to CF Java heap.
Change CF10admin > Server Settings > Java and JVM > Maximum JVM Heap Size (in MB) 512 to 2048 or more pending how much RAM the operating system has. CF application requires a restart to apply change.
HTH, Carl.
Copy link to clipboard
Copied
I think that'd be treating the symptom, not the actual problem. Although it would be an OK band-aid whilst trying to work out what the problem is.
I recommend getting hold of FusionReactor and do some profiling on your memory usage. It's pretty much impossible to say anything useful beyond that, based on the info you're providing.
Another thing you could do is to get in touch with Charlie Arehart, who is the expert on dealing with these issues: http://www.carehart.org/consulting/.
--
Adam
Copy link to clipboard
Copied
Hi Adam,
Thanks for this information. As u said I sent a mail to Charlie regarding this issue.
I got the replay also then I came to aknow that his way of troubleshooting is different('"watch over you shoulders" or "sharing the screen"). I think you might know about this. But As per my company policies these are not allowed.
If you have any other suggestions or any helpful points please share it with me.
Copy link to clipboard
Copied
Hi Carl,
Thanks for the response. I tried with this but no luck.
Copy link to clipboard
Copied
Hi Abdul, Seeing you mention "Error""tomcat-ajp-nnn" etc perhaps there will be some informative details in the tomcat connector log. Now you don't specify OS or WEB details but I guess Unix (/mnt) of some sort and perhaps Apache. So check the connector log eg cf10/config/wsconfig/n/mod_jk.log for [error] or [warning] messages.
Let me know if that turns up anything or not helpful and need more idea's. Carl.