Re: which memory profiling tool is better for tomcat?

2004-03-26 Thread Joerg Baumgaertel
Try the Reference Scanner from http://jb2works.com/
- if you want to find memory leaks.
It runs from a browser windwow, also remote.
Tomcat-Howto (Singel app and full tomcat) is there too.
I had used OptimizeIt but was not happy with it,
before i decided to write the Reference Scanner. Read this
FAQ
http://jb2works.com/memoryleak/index.html
for more information.

Best Regards,
Joerg Baumgaertel
tom ly wrote:
I've got Tomcat running Axis in a Non-GUI Linux Environment, so I'll have to be able to monitor tomcat from a GUI windows environment.  The options I've come across are Rational Purify and JProbe.  Rational Purify doesn't seem to be as tailored for Web Servers as JProbe, and I've found nothing in Rational Purify's documentation describing how to run a Web Server in non-graphical Linux bur monitor from a Windows machine which I do see that JProbe do.  Is Rational Rose a good choice for Tomcat memory analysyst?

-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joerg Baumgaertel
Forgot to mention that I have a lot of stuff
about Memory Leaks generally online:
FAQ
http://jb2works.com/memoryleak/index.html
and

Why do we have a Data Cancer
The Top Five to avoid it
http://jb2works.com/memoryleak/topfive.html
Best regards,
Joerg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joerg Baumgaertel
Hi Marco

Give 'The Reference Scanner' a try and make heap snapshots
and check the diff between snapshots.
I just published the tomcat-howto.
You find the Software here http://jb2works.com/
If you need more help, you reach me via mail.

Best regards,
Joerg
Marco Pöhler wrote:
Hi,

I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a
really simple application, just one servlet and a few jsp pages, using
dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I have to
restart the tomcat to fix the problem. Here is the log entry:
2004-03-21 10:41:04 StandardWrapperValve[mapperServlet]: Servlet.service()
for servlet mapperServlet threw exception
java.lang.OutOfMemoryError
Okay, I've investigated my source code for some kind of memory leak, but
without any success. How can I found what the problem is ? Are there tools
which can help me ?
thanks in advance

Marco Poehler

---
http://www.poehlerpoehler.de


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks

2004-03-20 Thread Joerg Baumgaertel
Hi all,

because often requested,
I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website.
You find the following documents
- How to scan a Java webapplication
  http://jb2works.com/refscan/tomcat.html
- How to scan Jakarta-Tomcat full-space
  http://jb2works.com/refscan/tomcatfull.html
About the Reference Scanner itself,

[From Announcement in c.l.j.p]

The Reference Scanner

Use this memory profiler .jar to inspect your running Java application
from your web browser. Get heap snapshots and snapshot diffs. Find
memory leaks. Analyze the reference graph for objects kept in memory.
Do simulate Cuts for found memory leaks.
Your application runs at normal speed. Does not require the JVM debug
mode. Low memory consumption.
The software is free downloadable. Only 810k .jar file.

usage
http://jb2works.com/refscan/usage.html
screenshots
http://jb2works.com/refscan/usage.html#heapprofile
feature matrix
http://jb2works.com/refscan/matrix.html
download
http://jb2works.com/refscan/status.html#status
faq
http://jb2works.com/refscan/faq.html
junit
http://jb2works.com/refscan/junit.html
I would like to see you enjoying this software!

Best regards,
Joerg Baumgaertel, jb2works.com 2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]