archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwin Mueller <erwin.muel...@deventm.org>
Subject Limit memory usage for Archiva
Date Tue, 29 May 2012 08:18:17 GMT
Hello,
how can I limit the memory usage for Archiva? I have only a 512MB RAM server 
available, and Archiva is using 50% of the RAM.

I like to know how to set a hard limit on the RAM available for Archiva and 
tips how I can minimize the RAM usage of Archiva.

I thought that the wrapper.conf can set a hard limit, but it's not working 
(Archiva is using 514M virtual and 254M resources, but the limit is set to 
256M). I added/changed in wrapper.conf:

wrapper.java.additional.7=-Xms256m
wrapper.java.additional.8=-Xmx256m
...
wrapper.java.initmemory=256
...
wrapper.java.maxmemory=256

Kind regards,
Erwin.

-- 
Erwin Mueller
http://www.mueller-public.de - My site;
http://www.global-scaling-institute.de/ - Global Scaling Institute GmbH;
http://www.anr-institute.com - Advanced Natural Research Institute GmbH;

Mime
View raw message