then read the log and find out exactly when the GC is occuring..
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above.
If you are not the intended recipient, you are hereby notified that you have
received
this communication in error and that any review, disclosure,
dissemination, distribution or copying of it or its
contents
----- Original Message -----
Sent: Tuesday, October 24, 2006 9:40
AM
Subject: RE: memory leak in my web
service
Hi,
When programming in Java for Linux like environments I've
came accros the same thing. The same program would run perfectly under
Windows, but would give a memory problem under Linux. I've eventually solved
this by calling the Garbage Collector manually and periodically. It seems
that the JVM under Linux environments doesn't automatically do this
well.
I don't know wether this will solve your problem as well,
but I guess it's worth a try.
Regards,
Willem
hi all, I got a memory leak issue. The web services is deployed over
Axis1.4/Tomcat, the services is used to query database.
If the client send request in a while loop, the server will run out of
memory in 2 or 3 hours.
I use jprofiler to monitor the memory,and cant' find something wired. I
even can't know which part of memory is growing so fast.
can anybody give me a clue ?
-thanks
-jeff