RE: [JBoss-user] JBOSS3.0.2 memory leakings ?

2002-09-20 Thread Geer, Benjamin

Vittorio Ballestra wrote:
> I'm experiencing memory leakings problems with jboss.3.0.2 (j2sdk1.4.0
> from sun).
> Our server works fine for serveral days but as new entities 
> are created
> I see memory occupation rising until there's an OutOfMemory exception.
> 
> Is this behaviour a known bug of jboss-3.0.2 ?
> In any way how can I help to give more info that can help to 
> find where
> exactly is the problem , or to solve myself ?
> As this is a very subtle problem I don't know how to proceed to debug
> it. 

This is most often caused when you store objects in a collection (e.g. a
HashMap) and forget to remove them.

To find the source of the problem, you can run JBoss and your
application in a profiler.  I've used Borland's OptimizeIt
(http://www.borland.com/optimizeit/) and found it to be quite helpful.

Benjamin



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBOSS3.0.2 memory leakings ?

2002-09-20 Thread David Jencks

I've used OptimizeIt from Borland to find several memory leaks in JBoss 3
(it was pre 3.0.0).  It's a great tool.  I ran JBoss in/connected to
OptimizeIT, after it started marked the memory usage, then ran the
testsuite and looked at what was left when it finished.  The display made
it very clear what was being held onto erroneously, and finding out why was
not difficult.  If you have some kind of tests that simulate normal usage
of your app you can probably do the same and quickly locate the problem.

Please let us know what you find out.  Also it is obviously time to run the
testsuite under Optimizeit once again...

thanks
david jencks

On 2002.09.20 10:14:51 -0400 Vittorio Ballestra wrote:
> I'm experiencing memory leakings problems with jboss.3.0.2 (j2sdk1.4.0
> from sun).
> Our server works fine for serveral days but as new entities are created
> I see memory occupation rising until there's an OutOfMemory exception.
> 
> Is this behaviour a known bug of jboss-3.0.2 ?
> In any way how can I help to give more info that can help to find where
> exactly is the problem , or to solve myself ?
> As this is a very subtle problem I don't know how to proceed to debug
> it. 
> 
> TNX.
> 
> 
> 
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user