OutOfMemory error while using JBoss AS 5.1.0 with JBoss Native service on Windows
---------------------------------------------------------------------------------
Key: JBAS-7290
URL:
https://jira.jboss.org/jira/browse/JBAS-7290
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Other
Affects Versions: JBossAS-5.1.0.GA
Environment: Windows Operating System, JBoss Native
Reporter: jaikiran pai
A couple of users have reported in the forums that AS 5.1.0 when used with the JBoss
Native that is shipped with AS causes OutOfMemory errors on Windows. Here are the forum
threads:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161121
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161622
The real issue is that the default JAVA_OPTS (in run.bat.conf) which set the -Xms, -Xmx
and other memory settings are being skipped because the run.bat.conf does not set the
JAVA_OPTS if its already set. The service.bat (from JBoss Native) sets the JAVA_OPTS (with
-Xrs) which causes the run.conf.bat to just skip the part where other JAVA_OPTS are being
set.
The issue is being tracked in JBoss Native JBNATIVE-59 but i am opening this JBAS JIRA so
that it gets tracked as part of the AS project too.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira