Thanks Imran,

In /usr/share/tomcat7/bin/setenv.sh I have the following:
-server -Xms512m -Xmx1024m
-XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m
-XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=36000
-XX:+UseParallelOldGC -XX:+UseParallelGC
-XX:NewRatio=2 -XX:+AggressiveOpt

This is working on my first server but not on my new server with GSv2.2.4
and Oracle-Java.

Perhaps I'm not setting it correctly?

On both servers I have installed the native JAI and JAI Image I/O
extensions.

I also noticed that tomcat7 is not starting after a reboot of the server. I
have to manually start it.
Perhaps I did not install tomcat7 correctly?

Thanks,

Paul

2013/2/10 Imran Rajjad <[email protected]>

> Hi,
>
> http://docs.geoserver.org/stable/en/user/production/container.html
>
> some JVM parameters you might want to try out.
>
> regards,
> Imran
>
> On Sun, Feb 10, 2013 at 4:23 AM, Paul Meems <[email protected]>wrote:
>
>> I've set up a new Ubuntu cloud server with 2GB RAM.
>> I also have another server with the same configuration, but running
>> OpenJDK and GS 2.2.1
>>
>> On my new server I use GS 2.2.4 and Oracle-Java-7.
>> I've mimicked the settings of both servers and all seems to work OK,
>> except for GWC.
>> When I want to seed a layer I'm getting errors about
>> 'java.lang.OutOfMemoryError: Java heap space' in the log.
>> I'm still a novice when it comes to Ubuntu and Java and it took me a long
>> time and a lot of trial-and-error before I got my other server working. I
>> had hoped using the same settings would help me out.
>>
>> My question to you all is. What and where do I need to change to prevent
>> heap space errors and get my GWC up and running? Is this a setting in
>> Tomcat7 or in Geoserver/GWC?
>>
>> Thanks,
>>
>> Paul
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
>
> --
> I.R
>
------------------------------------------------------------------------------
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