Thanks Andrea,

I did a more searching and it seems I misunderstood what to write in the
setenv.sh file.
I deleted all content and paste these lines:
CATALINA_OPTS="$CATALINA_OPTS -server -Xms256m -Xmx512m"
CATALINA_OPTS="$CATALINA_OPTS -XX:SoftRefLRUPolicyMSPerMB=36000"

Using *ps aux|grep jar* I can now see Tomcat is using my settings instead
of the default settings.
I'm seeding now (finally) ;)

Thanks for all your help. It were again days I've learned a lot.


Paul

2013/2/10 Andrea Aime <[email protected]>

> On Sun, Feb 10, 2013 at 4:33 PM, Paul Meems <[email protected]>wrote:
>
>> Thanks Andrea,
>>
>> I can set up a new server with Oracle-Java-6.
>> What would be the best settings in my setenv.sh file when I have 2GB RAM
>> and 80GB Disk?
>>
>> On my current server with Oracle-Java-7, I've tried changing -Xmx1024m to
>> -Xmx512m and to -Xmx1536m, in both cases I get an out of memory (java heap
>> space).
>> Do I need to change a different settings to increase the heap space?
>>
>
> Hum, with so little RAM 512m is probably better, to leave some space for
> file caching. But I guess the settings are not
> being picked up by Tomcat, otherwise you'd not get a OOM so soon
>
> Cheers
> Andrea
>
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to