1. The 'all' server was experiencing OOMEs of the PermSpace variety, as opposed to
the heap space variety. Heap space is used to store object instances and other
garbage-collectable data items, whereas PermSpace is used to store class definitions and
other 'permanent' data structures, which are not subject to garbage collection (as
far as I am aware). These were visible in the log as:
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
2. The fact that servers controlled with server:start and server:stop do not shutdown
correctly seems to be due to memory problems: I ran the testsuite with the JVM memory
settings
-Xms256m -Xmx256m -XX:MaxPermSize=128m -XX:PermSize=128m
and the server shutdown problems (as well as the OOMEs) disappeared.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030024#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...