]
Dimitris Andreadis commented on JBAS-4216:
------------------------------------------
Excellent reports, thank you.
I've made the following changes:
- doubled the MaxPermSize (128m from the default 64m) on Sun-based JVMs in the all config
- increased by 50% (512m to 768m) on Sun-base VMs the MaxPermSize for the compatibility
tests, that traverse and load all the classes to check the SerialVersionUIDs.
I understand that the -XX:MaxPermSize is only recognised by Sun-based VMs (e.g. HPs), but
not JRockits. But then JRockits doesn't seem to have this problem anyway.
I next step would be to actual includes the max heap space in the all config from what we
have now -Xmx128m, but then this will make it harder to spot real memory leaks. So I'm
not changing this now.
I would expect for most memory leaks to disappear with those changes.
Another thing to be aware of, when reporting the OOMEs, it's essential to know which
part of the tests produced it, since every set of tests runs potentially with a different
set of setting.
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@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@e27907
java.lang.OutOfMemoryError: PermGen space
18:23:10,282 WARN [RunnableTaskWrapper] Unhandled throwable for runnable:
org.jnp.server.Main$BootstrapRequestHandler@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@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@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@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@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@1b184a6
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: