[xwiki-devs] [Proposal] Set maxpermsize in shell script to start xwiki
Hi, Since we need 65MB of perm size and since Sun's JVMs have it set to 32 (client) or 64MB (server) by default I propose to modify our default shell script that start xwiki with: JAVA_OPTS="-Xmx300m -XX:MaxPermSize=64m" WDYT? Note that strangely for me, I get 64m+32m=96mb of non heap space with this setting. If I use MaxPermSize=96m then I get 128mb. I still haven't figured this out. Could it be that MaxPermSize is the additional memory from the default (32m for client)? Thanks -Vincent
On 10/15/2009 01:55 PM, Vincent Massol wrote:
Hi,
Since we need 65MB of perm size and since Sun's JVMs have it set to 32 (client) or 64MB (server) by default I propose to modify our default shell script that start xwiki with:
JAVA_OPTS="-Xmx300m -XX:MaxPermSize=64m"
WDYT?
If we need 65, why not say 96? +1 for this change.
Note that strangely for me, I get 64m+32m=96mb of non heap space with this setting. If I use MaxPermSize=96m then I get 128mb. I still haven't figured this out. Could it be that MaxPermSize is the additional memory from the default (32m for client)?
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Sergiu Dumitriu wrote:
On 10/15/2009 01:55 PM, Vincent Massol wrote:
Hi,
Since we need 65MB of perm size and since Sun's JVMs have it set to 32 (client) or 64MB (server) by default I propose to modify our default shell script that start xwiki with:
JAVA_OPTS="-Xmx300m -XX:MaxPermSize=64m"
WDYT?
If we need 65, why not say 96?
+1 for this change.
+1 too Marius
Note that strangely for me, I get 64m+32m=96mb of non heap space with this setting. If I use MaxPermSize=96m then I get 128mb. I still haven't figured this out. Could it be that MaxPermSize is the additional memory from the default (32m for client)?
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Thu, Oct 15, 2009 at 13:55, Vincent Massol <[email protected]> wrote:
Hi,
Since we need 65MB of perm size and since Sun's JVMs have it set to 32 (client) or 64MB (server) by default I propose to modify our default shell script that start xwiki with:
JAVA_OPTS="-Xmx300m -XX:MaxPermSize=64m"
WDYT?
Note that strangely for me, I get 64m+32m=96mb of non heap space with
I get 112M with the same setting (-XX:MaxPermSize=64m)
this setting. If I use MaxPermSize=96m then I get 128mb. I still haven't figured this out. Could it be that MaxPermSize is the additional memory from the default (32m for client)?
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
participants (4)
-
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol