[Performance Tuning] - java.lang.OutOfMemoryError: PermGen space + JBoss AS in Windows
by Roberto Requena
Roberto Requena [http://community.jboss.org/people/Rart3001_1] created the discussion
"java.lang.OutOfMemoryError: PermGen space + JBoss AS in Windows"
To view the discussion, visit: http://community.jboss.org/message/624085#624085
--------------------------------------------------------------
Greetings.
I need some help setting up a JBoss Aplication for production as is giving me memory problems.
The server configuration is as follows:
*OS: Microsoft Windows Server 2003 Enterprise Edition (Service Pack 2)*
*CPU: Pentium (R) Dua-Core CPU E5200(a)2.50GHz 2.50GHz*
*Memory: 1.96 GB of RAM.*
*JAVA: java version "1.6.0_24" Java (TM) SE Runtime Environment (build1.6.0_24-b07)*
*Application Server: JBoss 5.1.0.GA*
My application is developed with:
*JSF 1.2*
*Rich Faces 3.3.3 Final*
*Facelets*
*EJB 3.0*
*JPA*
I tried to make most of my Backing Beam are in request scope.
But when more than one user is connected to the application I get the following error:
java.lang.OutOfMemoryError: PermGen space
and tried to set the memory of the VM, but do not know what values to putexactly the amount of server memory. Nor is that components of jboss I have to uninstall to improve performance.
If you have any suggestions they are truly GRATEFUL.
Thanks again and excuse me for my Inglish
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/624085#624085]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months
[JBoss Messaging] - problem wiht NDC used in multiple threads
by jerome maraninchi
jerome maraninchi [http://community.jboss.org/people/geek_nissa] created the discussion
"problem wiht NDC used in multiple threads"
To view the discussion, visit: http://community.jboss.org/message/623933#623933
--------------------------------------------------------------
Hello everybody,
I'm an issue after the migration from JBoss 3.2 to JBoss 6.0. All run expect log. I use jboss-logging.xml for each EAR deployed on JBoss to specify, the level, the pattern and the destination. After migrate on the code, to use org.jboss.logmanager and not org.apache.log4j I am problem to display the context with %x.
it can't give the context and i see this error : Log stack integrity error (there are currently 1 contexts into it) the number of context is give whith NDC.getDepth.
I thougth I have this problem because all ear isn't isolated but no because I'm tested after isolated and i have the same problem
You can see the log is good expect the context between the two chevron in red
*<>* <2011-08-31 07:55:09,129> <soap> <INFO> <generated : 54561>
This is the pattern used in jboss-logging.xml
<pattern-formatter pattern="<%x> <%d{yyyy-MM-dd HH:mm:ss,SSS}> <soap> <%p> <%m>%n"/>
Thank you for your help and have a good day
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/623933#623933]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months