Copy link to clipboard
Copied
Good morning all,
CF8 runs fine in development but, in production runs like crap. IIS6 needs restarting every morning and everthing is pointing to my code but, I had no problems with my code in development. Anyone know how to find if my code is causing memory leaks? I am also using Stored Procedures from CF to SQL 2005.
Thanks in Advance,
DJ Khalif
The monitoring tools built into ColdFusion 8.
AND|OR
SeeFusion (http://www.seefusion.com/)
AND|OR
FusionReactor (http://www.fusion-reactor.com/fr/)
It is quite possible that code that runs fine in development where one (or at most a few) users work fine, but behaves completely differently in production wehre dozens, hundred or potentially thousands of users start hitting it.
You may want to also check out load testing tools for testing of your applicaiton.
Copy link to clipboard
Copied
The monitoring tools built into ColdFusion 8.
AND|OR
SeeFusion (http://www.seefusion.com/)
AND|OR
FusionReactor (http://www.fusion-reactor.com/fr/)
It is quite possible that code that runs fine in development where one (or at most a few) users work fine, but behaves completely differently in production wehre dozens, hundred or potentially thousands of users start hitting it.
You may want to also check out load testing tools for testing of your applicaiton.
Copy link to clipboard
Copied
Ian,
Thanks. JVM memory = 64.25 MB Used Memory 33.20MB. I'm over 50% in JVM Used Memory.
Copy link to clipboard
Copied
You may want to also check out load testing tools for testing of your applicaiton.
Seconded. All code should be load tested before being put into production. Even when there isn't already a problem; it should just be part of the test cycle.
--
Adam
Copy link to clipboard
Copied
Those JVM memory numbers are tiny. I am not the least bit suprised you hare having issues.
The number on my test server are 1015MB for max memory available to JVM, and typically 920 MB free.