[ 
http://jira.jboss.com/jira/browse/JBAS-1319?page=comments#action_12316546 ]
     
Clebert Suconic commented on JBAS-1319:
---------------------------------------

My understanding is that unused classes will be unloaded by the GC.
I mean... no instances, on references through garbage collectors, next full 
GC=class release.

So, why do we need additional features in the JVM unloading the class? (Sorry 
about my ignorance)

I was trying to use JProfiler for this, but my JVM is crashing everytime I try 
to take a big snapshot of the memory.

If it's not possible to use an already existent profiler for this, I was able 
to navigate in the HEAP using JVMTI (JVM 5), and I need to do the dirty job of 
analyze log files and show the heap through some simple front-end.

Also... can this task be deferred to the next version?

> redeploy causes OutOfMemoryError
> --------------------------------
>
>          Key: JBAS-1319
>          URL: http://jira.jboss.com/jira/browse/JBAS-1319
>      Project: JBoss Application Server
>         Type: Bug
>   Components: JMX
>     Versions: JBossAS-4.0.1 Final
>  Environment: JBoss 4.0.1 running on fedora core 3, using jdk 1.5.0
>     Reporter: Matthew Todd
>     Assignee: Clebert Suconic

>
>
> Constant redployment, even of a simple web application eventually causes an 
> OutOfMemoryError in JBoss. 
> To duplicate, keep on copying a .war package into a servers hot deploy 
> directory. Eventually an OutOfMemoryError occurs. 
> This is especially dangerous when running as a cluster, as when the node is 
> restarted, it is unable to join the cluster again.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to