Optimize It is an excellent tool to debug these kind of run time memory problems. It has a graphical UI that tells you object count in real time and many other things. You can download trial version from:
www.borland.com/optimizeit/ Mohan From: "Greg Nudelman" <[EMAIL PROTECTED]> on 10/13/2003 06:04 PM Please respond to jdjlist <[EMAIL PROTECTED]> To: jdjlist <[EMAIL PROTECTED]> cc: Subject: [jdjlist] OutOfMemoryError I have J2EE/EJB JRun 3.1 app on Win 2000, 24MB Max memory allocated to JVM.� A specific transaction has a memory leak and causes OutOfMemoryError after I run it 8 times or so. It is a 2000 line Java method which builds a giant (2000 entries) HTML tree using a single DB query, StringBuffer and massive recursion. It is practically unreadable. Are there any good free tools out there which would tell me what objects are not being cleaned up and are causing the memory leak? Any help will be much appreciated. Greg --- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] http://www.sys-con.com/fusetalk To unsubscribe from all mailing lists, click: http://sys-con.com/[EMAIL PROTECTED] American Express made the following annotations on 10/13/2003 03:19:02 PM ------------------------------------------------------------------------------ ****************************************************************************** "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." ****************************************************************************** ============================================================================== --- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] http://www.sys-con.com/fusetalk To unsubscribe from all mailing lists, click: http://sys-con.com/[EMAIL PROTECTED]
