Re: running jrockit with CFusionMX7 to find memory leak
On Tuesday 07 Aug 2007, [EMAIL PROTECTED] wrote: I have been having a terrible time trying to get jrockit running with coldfusion. I have coldfusion MX 7 running and installed jrockit Can you stick your app on CF8 in the dev. environment and use the built in stuff to try and locate it by watching the graphs as you do one thing at a time ? You're not doing lots of cffile action=upload are you ? There was a leak in that... -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285664 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: running jrockit with CFusionMX7 to find memory leak
1 think this is the easiest way to use memleak. 1) Copy the license file to your JRE-directory. See: http://dev2dev.bea.com/jrockit/tools.html 2) Start JRockit with -Xmanagement:port=7091,ssl=false,authenticate=false 3) Start Mission Control and click new connection in the JRockit Browser toolbar. Set the host(localhost) and port(7091). 4) Right click on the connection you've just created and select Memleak. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285772 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
running jrockit with CFusionMX7 to find memory leak
I have been having a terrible time trying to get jrockit running with coldfusion. I have coldfusion MX 7 running and installed jrockit (jrockit-R27.3.1-jdk1.5.0_11). The reason I am trying to run jrockit is to use their memory leak tools to find a memory leak on my server. It crashes nearly daily because it runs out of memory. I have tried following the information on this page but it has not worked: http://www.schierberl.com/cfblog/index.cfm/2006/10/12/ColdFusion_memoryLeak_profiler So far I have made these changes to the jvm.config file:l java.home=C:/Program Files/Java/jrockit-R27.3.1-jdk1.5.0_11/jre Also, I added the following at the end of the java.args: -Xmanagement According to the post, I should add this to the java.args but doing so prevents cold fusion server from starting: -Xmanagement -Djrockit.managementserver.port=9010 Okay, so by just using the '-Xmanagement' cold fusion starts and I am able to run jrockit. Once in jrockit, under the 'connectors' it shows localhost:80 however I am unable to start the memory leak or do anything else with that (timeout failures). Under 'discovered' within 'local' it shows com.jrockit.mc.rcp.start.MCMain. I am able to start memory leak on that connection, but I believe it isn't the correct connection. It seems as if there is some disconnect between my localhost and the jrockit. Any advise or directions would be greatly appreciated. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285594 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: running jrockit with CFusionMX7 to find memory leak
This is not relating to jrockit, but do you happen to be running FusionReactor? There was a bug in v2 of FR that, in some instances, caused the ODBC Wrapper to make memory climb. This has been fixed in their 2.04 release - and works great I might add. Just thought I would though that out there in case you are running FR with the ODBC wrapper. I have been having a terrible time trying to get jrockit running with coldfusion. I have coldfusion MX 7 running and installed jrockit (jrockit-R27.3.1-jdk1.5.0_11). The reason I am trying to run jrockit is to use their memory leak tools to find a memory leak on my server. It crashes nearly daily because it runs out of memory. I have tried following the information on this page but it has not worked: http://www.schierberl.com/cfblog/index. cfm/2006/10/12/ColdFusion_memoryLeak_profiler So far I have made these changes to the jvm.config file:l java.home=C:/Program Files/Java/jrockit-R27.3.1-jdk1.5.0_11/jre Also, I added the following at the end of the java.args: -Xmanagement According to the post, I should add this to the java.args but doing so prevents cold fusion server from starting: -Xmanagement -Djrockit.managementserver.port=9010 Okay, so by just using the '-Xmanagement' cold fusion starts and I am able to run jrockit. Once in jrockit, under the 'connectors' it shows localhost:80 however I am unable to start the memory leak or do anything else with that (timeout failures). Under 'discovered' within 'local' it shows com.jrockit.mc.rcp.start.MCMain. I am able to start memory leak on that connection, but I believe it isn't the correct connection. It seems as if there is some disconnect between my localhost and the jrockit. Any advise or directions would be greatly appreciated. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285601 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: running jrockit with CFusionMX7 to find memory leak
Hey Jason, No, I am not running FusionReactor... thanks though. Really, I am just trying to track down a memory leak. I have reviewed the code 100s of times, but nothing seems out of the ordinary. Does anyone know any tools that work with ColdFusion to track down memory leaks? Thanks! This is not relating to jrockit, but do you happen to be running FusionReactor? There was a bug in v2 of FR that, in some instances, caused the ODBC Wrapper to make memory climb. This has been fixed in their 2.04 release - and works great I might add. Just thought I would though that out there in case you are running FR with the ODBC wrapper. I have been having a terrible time trying to get jrockit running with coldfusion. I have coldfusion MX 7 running and installed jrockit (jrockit-R27.3.1-jdk1.5.0_11). The reason I am trying to run jrockit is to use their memory leak tools to find a memory leak on my server. It crashes nearly daily because it runs out of memory. I have tried following the information on this page but it has not worked: http://www.schierberl.com/cfblog/index. cfm/2006/10/12/ColdFusion_memoryLeak_profiler So far I have made these changes to the jvm.config file:l java.home=C:/Program Files/Java/jrockit-R27.3.1-jdk1.5.0_11/jre Also, I added the following at the end of the java.args: -Xmanagement According to the post, I should add this to the java.args but doing so prevents cold fusion server from starting: -Xmanagement -Djrockit.managementserver.port=9010 Okay, so by just using the '-Xmanagement' cold fusion starts and I am able to run jrockit. Once in jrockit, under the 'connectors' it shows localhost:80 however I am unable to start the memory leak or do anything else with that (timeout failures). Under 'discovered' within 'local' it shows com.jrockit.mc.rcp.start.MCMain. I am able to start memory leak on that connection, but I believe it isn't the correct connection. It seems as if there is some disconnect between my localhost and the jrockit. Any advise or directions would be greatly appreciated. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285604 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: running jrockit with CFusionMX7 to find memory leak
varScoper? Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Calvert Rent wrote: Hey Jason, No, I am not running FusionReactor... thanks though. Really, I am just trying to track down a memory leak. I have reviewed the code 100s of times, but nothing seems out of the ordinary. Does anyone know any tools that work with ColdFusion to track down memory leaks? Thanks! This is not relating to jrockit, but do you happen to be running FusionReactor? There was a bug in v2 of FR that, in some instances, caused the ODBC Wrapper to make memory climb. This has been fixed in their 2.04 release - and works great I might add. Just thought I would though that out there in case you are running FR with the ODBC wrapper. I have been having a terrible time trying to get jrockit running with coldfusion. I have coldfusion MX 7 running and installed jrockit (jrockit-R27.3.1-jdk1.5.0_11). The reason I am trying to run jrockit is to use their memory leak tools to find a memory leak on my server. It crashes nearly daily because it runs out of memory. I have tried following the information on this page but it has not worked: http://www.schierberl.com/cfblog/index. cfm/2006/10/12/ColdFusion_memoryLeak_profiler So far I have made these changes to the jvm.config file:l java.home=C:/Program Files/Java/jrockit-R27.3.1-jdk1.5.0_11/jre Also, I added the following at the end of the java.args: -Xmanagement According to the post, I should add this to the java.args but doing so prevents cold fusion server from starting: -Xmanagement -Djrockit.managementserver.port=9010 Okay, so by just using the '-Xmanagement' cold fusion starts and I am able to run jrockit. Once in jrockit, under the 'connectors' it shows localhost:80 however I am unable to start the memory leak or do anything else with that (timeout failures). Under 'discovered' within 'local' it shows com.jrockit.mc.rcp.start.MCMain. I am able to start memory leak on that connection, but I believe it isn't the correct connection. It seems as if there is some disconnect between my localhost and the jrockit. Any advise or directions would be greatly appreciated. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285607 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: running jrockit with CFusionMX7 to find memory leak
No reason to completely switch out the JVM for this.. Sun has free tools to help find memory leaks with their jvm's Check.. http://java.sun.com/performance/jvmstat/ You can also use Seefusion or Fusion-reactor which pulls a lot of the same info but more in the light of CF. John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting -Original Message- From: Jason Fill [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 3:17 PM To: CF-Talk Subject: Re: running jrockit with CFusionMX7 to find memory leak This is not relating to jrockit, but do you happen to be running FusionReactor? There was a bug in v2 of FR that, in some instances, caused the ODBC Wrapper to make memory climb. This has been fixed in their 2.04 release - and works great I might add. Just thought I would though that out there in case you are running FR with the ODBC wrapper. I have been having a terrible time trying to get jrockit running with coldfusion. I have coldfusion MX 7 running and installed jrockit (jrockit-R27.3.1-jdk1.5.0_11). The reason I am trying to run jrockit is to use their memory leak tools to find a memory leak on my server. It crashes nearly daily because it runs out of memory. I have tried following the information on this page but it has not worked: http://www.schierberl.com/cfblog/index. cfm/2006/10/12/ColdFusion_memoryLeak_profiler So far I have made these changes to the jvm.config file:l java.home=C:/Program Files/Java/jrockit-R27.3.1-jdk1.5.0_11/jre Also, I added the following at the end of the java.args: -Xmanagement According to the post, I should add this to the java.args but doing so prevents cold fusion server from starting: -Xmanagement -Djrockit.managementserver.port=9010 Okay, so by just using the '-Xmanagement' cold fusion starts and I am able to run jrockit. Once in jrockit, under the 'connectors' it shows localhost:80 however I am unable to start the memory leak or do anything else with that (timeout failures). Under 'discovered' within 'local' it shows com.jrockit.mc.rcp.start.MCMain. I am able to start memory leak on that connection, but I believe it isn't the correct connection. It seems as if there is some disconnect between my localhost and the jrockit. Any advise or directions would be greatly appreciated. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285615 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: running jrockit with CFusionMX7 to find memory leak
varScoper looks good, but this page uses cfscript which doesn't work w/ varScooper. I am currently downloading Java SE 5.0 so I can try out jvmstat. After I download a new version of Java, I assume I need to point coldfusion (through the admin interface) to point to the new instance of java. At that point I should be able to use jvmstat. Am I on the right track here? No reason to completely switch out the JVM for this.. Sun has free tools to help find memory leaks with their jvm's Check.. http://java.sun.com/performance/jvmstat/ You can also use Seefusion or Fusion-reactor which pulls a lot of the same info but more in the light of CF. John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting This is not relating to jrockit, but do you happen to be running FusionReactor? There was a bug in v2 of FR that, in some instances, caused the ODBC Wrapper to make memory climb. This has been fixed in their 2.04 release - and works great I might add. Just thought I would though that out there in case you are running FR with the ODBC wrapper. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285626 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: running jrockit with CFusionMX7 to find memory leak
Have I missed something here? Things like visualgc, FusionReactor etc just tell you how big the heap is. Unless you can pin down the memory leakage to particular moments in time, this doesn't help much. We need to know what's in that heap. From what I've seen the only one of Sun's tools that runs on the 1.4.x JVM is visualgc. The heap analysis tools require later JVMs, which CFMX7 does not support. That leaves us with things like OptimizeIt and JProfiler. I'd love to know if there's another way. I have a memory leak on my production server which I've been unable to reproduce on dev, and don't want to load down production with instrumentation. My current plan is to upgrade to CF8 and a) see if the leak goes away and b) get into the JVM 1.6 good stuff like JHAT. Jaime Metcher -Original Message- From: Calvert Rent [mailto:[EMAIL PROTECTED] Sent: Wednesday, 8 August 2007 7:21 AM To: CF-Talk Subject: Re: running jrockit with CFusionMX7 to find memory leak varScoper looks good, but this page uses cfscript which doesn't work w/ varScooper. I am currently downloading Java SE 5.0 so I can try out jvmstat. After I download a new version of Java, I assume I need to point coldfusion (through the admin interface) to point to the new instance of java. At that point I should be able to use jvmstat. Am I on the right track here? No reason to completely switch out the JVM for this.. Sun has free tools to help find memory leaks with their jvm's Check.. http://java.sun.com/performance/jvmstat/ You can also use Seefusion or Fusion-reactor which pulls a lot of the same info but more in the light of CF. John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting This is not relating to jrockit, but do you happen to be running FusionReactor? There was a bug in v2 of FR that, in some instances, caused the ODBC Wrapper to make memory climb. This has been fixed in their 2.04 release - and works great I might add. Just thought I would though that out there in case you are running FR with the ODBC wrapper. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285643 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4