Please refrain from top-posting.
<http://www.physci.org/codes/javafaq.html#toppost>
>...should i use the syntax java -XX:MaxPermSize=1024 ? (in jboss
>command line run.bat)
If the problem is a memory leak as Tom suggested, no.
At least, not unless you consider that doubling the
memory might allow the app. to run (roughly) twice
as long before failing, and that makes for 'a solution'.

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Lew - 27 May 2007 16:03 GMT
> Please refrain from top-posting.
> <http://www.physci.org/codes/javafaq.html#toppost>
[quoted text clipped - 6 lines]
> memory might allow the app. to run (roughly) twice
> as long before failing, and that makes for 'a solution'.
Other options that may help you avoid the real problem until it pops up in
production at the least opportune moment:
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled

Signature
Lew
Andrew Thompson - 27 May 2007 16:20 GMT
...
>> ...might allow the app. to run (roughly) twice
>> as long before failing, and that makes for 'a solution'.
[quoted text clipped - 4 lines]
>-XX:+CMSClassUnloadingEnabled
>-XX:+CMSPermGenSweepingEnabled
Huhh. Those options are new to me. I'll have to
look them up!

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Lew - 27 May 2007 16:33 GMT
> ..
>>> ...might allow the app. to run (roughly) twice
[quoted text clipped - 7 lines]
> Huhh. Those options are new to me. I'll have to
> look them up!
It's something I lifted from NetBeans's config file examples.
Options like this are nearly undocumented, perhaps for a reason.
I found
<http://blogs.sun.com/watt/resource/jvm-options-list.html>

Signature
Lew
Andrew Thompson - 27 May 2007 17:11 GMT
(a variey of -XX options to java)
>It's something I lifted from NetBeans's config file examples.
>
>Options like this are nearly undocumented, perhaps for a reason.
Yes. Them non-standard options are always to
be treated with a grain of salt (here one release,
possibly gone the next?).
>I found
><http://blogs.sun.com/watt/resource/jvm-options-list.html>
Thanks.

Signature
Andrew Thompson
http://www.athompson.info/andrew/