[jboss-jira] [JBoss JIRA] Commented: (JBAS-4216) Out Of Memory Errors

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Tue Mar 27 18:03:59 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4216?page=comments#action_12357545 ] 
            
Richard Achmatowicz commented on JBAS-4216:
-------------------------------------------

1. I have been using the settings:
-Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m 
on Windows for the past few days and have had no more perm space or heap space problems. 

2. The other memory adjustment whioch should be made is the setting 
ANT_OPTS=-Xmx256m 
in build.sh and build.bat, which is low enough that the testsuite build most always fails to generate reports correctly due to OOME on Java heap space. 
We have found that -Xmx640m works well.


> Out Of Memory Errors
> --------------------
>
>                 Key: JBAS-4216
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4216
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossAS-4.2.0.CR1
>            Reporter: Richard Achmatowicz
>         Assigned To: Dimitris Andreadis
>            Priority: Blocker
>             Fix For: JBossAS-4.2.0.GA
>
>
> I've run the testsuite on dev03 twice now and got out of memory errors (see output at end).
> The testsuite is starting server 'all' with the command:
> jboss-all-config-tests:
> [server:start] Starting server "all" with command:
> [server:start] /opt/jdk1.5.0_11/bin/java -cp /home/dtf-admin/JBPAPP-03-19-07/jboss-4.2.0.GA/bin/run.jar:/opt/jdk1.5.0_11/lib/tools.jar -Xmx128m -Djava.endorsed.dirs=/home/dtf-admin/JBPAPP-03-19-07/jboss-4.2.0.GA/lib/endorsed -Djgroups.udp.ip_ttl=0 org.jboss.Main -c all -b 10.16.6.161 -u 239.11.12.6
>  --------------------------- System.out -------------------------------------------------------------------------------
> [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 9.417 sec
> [junit] Running org.jboss.test.txtimer.test.TimerSerializationTestCase
> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 4.367 sec
> [junit] Running org.jboss.test.txtimer.test.TransactionalTimerTestCase
> [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 7.285 sec
> [server:stop] Shutting down server: all
> [server:stop] Failed to shutdown server "all" before timeout. Destroying the process.
> tests-security-manager:
> [server:start] Starting server "securitymgr" with command:
> [server:start] /opt/jdk1.5.0_11/bin/java -cp /home/dtf-admin/JBPAPP-03-19-07/jboss-4.2.0.GA/bin/run.jar:/opt/jdk1.5.0_11/lib/tools.jar -Xmx64m -Djboss.home.dir=/home/dtf-admin/JBPAPP-03-19-07/jboss-4.2.0.GA -Djboss.server.home.dir=/home/dtf-admin/JBPAPP-03-19-07/jboss-4.2.0.GA/server/default -Djboss.test.deploy.dir=/home/dtf-admin/JBPAPP-03-19-07/src/testsuite/output/lib -Djava.security.manager -Djava.security.policy==/home/dtf-admin/JBPAPP-03-19-07/src/testsuite/output/resources/securitymgr/server.policy -Djava.security.debug=policy org.jboss.Main -c default -b 10.16.6.161 -u 239.11.12.6
> [server:start] Failed to start server "securitymgr" before timeout. Destroying the process.
> BUILD FAILED
> /home/dtf-admin/JBPAPP-03-19-07/src/testsuite/build.xml:714: The following error occurred while executing this line:
> /home/dtf-admin/JBPAPP-03-19-07/src/testsuite/build.xml:1577: Error starting server "securitymgr": Server failed to start; see logs.
> Total time: 69 minutes 57 seconds
> Exiting: testsuite failed
> -------------------------- output.log --------------------------------------
> java.lang.OutOfMemoryError: PermGen space
> 18:23:08,027 ERROR [STDERR] Exception in thread "JBoss System Threads(1)-108"
> 18:23:08,027 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at 8aba19
> java.lang.OutOfMemoryError: PermGen space
> 18:23:08,027 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
> 18:23:08,051 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at e27907
> java.lang.OutOfMemoryError: PermGen space
> 18:23:10,282 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at 77dcdf
> java.lang.OutOfMemoryError: PermGen space
>  18:23:13,343 WARN [UDP] packet from 10.16.6.97:45459 has different version (12338) from ours (241). Packet is discarded
> 18:23:13,527 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at 145c626
> java.lang.OutOfMemoryError: PermGen space
> 18:23:15,412 ERROR [STDERR] Exception in thread "JBoss System Threads(1)-97"
> 18:23:15,412 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
> 18:23:15,413 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at 17468 97
> java.lang.OutOfMemoryError: PermGen space
> 18:23:17,595 ERROR [STDERR] Exception in thread "JBoss System Threads(1)-107"
> 18:23:17,595 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
> 18:23:17,818 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at 1a02ba8
> java.lang.OutOfMemoryError: PermGen space
> 18:23:19,634 ERROR [STDERR] Exception in thread "JBoss System Threads(1)-104"
> 18:23:19,634 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
> 18:23:19,634 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at 2c40a
> java.lang.OutOfMemoryError: PermGen space
> 18:23:21,313 ERROR [STDERR] Exception in thread "JBoss System Threads(1)-110"
> 18:23:21,313 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
> 18:23:27,676 WARN [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at 1b184a6

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list