2 Replies Latest reply on Oct 12, 2010 9:49 AM by Agustin Sivoplás Ferrari

    java.lang.OutOfMemoryError: Java heap space when use profiler

    Agustin Sivoplás Ferrari Expert

      When i'm use profiler in my aplication i have memory problems.

       

      In my server configuration y have this:

       

      -Dprogram.name=run.bat -Djava.endorsed.dirs="C:/jboss-5.1.0.GA/bin/../lib/endorsed" -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512 -javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties

       

      In my jboss-profiler.properties

       

      enable=yes
      precompiled=no
      cpu=yes
      memory=yes
      includes=uy.com.its.*|public
      excludes=uy.com.its.model.*|public
      visibility=public
      save=yes
      savelocation=.
      startup=yes
      repository=no
      remote=yes
      store=memory
      location=.
      host=localhost
      port=5400
      ejb=yes
      servlet=yes
      jsf=yes
      jmx=yes
      rmi=yes
      corba=yes
      plugin.1=org.jboss.profiler.plugins.Hibernate
      plugin.2=org.jboss.profiler.plugins.Seam
      

      enable=yes
      precompiled=no
      cpu=yes
      memory=yes
      includes=uy.com.its.*|public
      excludes=uy.com.its.model.*|public
      visibility=public
      save=yes
      savelocation=.
      startup=yes
      repository=no
      remote=yes
      store=memory
      location=.
      host=localhost
      port=5400
      ejb=yes
      servlet=yes
      jsf=yes
      jmx=yes
      rmi=yes
      corba=yes
      plugin.1=org.jboss.profiler.plugins.Hibernate
      plugin.2=org.jboss.profiler.plugins.Seam

       

      I'm using Quartz and i have 2 Jobs, when i disable this jobs the error not ocurre.

       

      I need help to customize the jboss-profiler.properties

       

      Thanks in advance