archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Limit memory usage for Archiva
Date Tue, 29 May 2012 10:03:25 GMT
Hi,


2012/5/29 Erwin Mueller <erwin.mueller@deventm.org>:
> 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

Yup that's normally the setup to change.
Which version Archiva are you using ?
How do you take your figures on memory usage ?

>
> 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;



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

Mime
View raw message