Re: [Geoserver-users] OutOfMemoryError for geoserver 2.2.1

2012-12-02 Thread cmaul
Gabriele,

the PermGenSpace contains the classes, configurations, data etc.i.e. the
program, the heap which you define with -Xmx and -Xmx contains the objects
at runtime i.e. the working program and is separate from the permanent
space. The classes or  templates for the objects are taken from the
permanent space and put onto the heap filled with the relevant values at
runtime and continually created with new values and destroyed if not needed
anymore. Please see:


http://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&ved=0CFUQFjAE&url=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fmemorymanagement-whitepaper-150215.pdf&ei=x9m7UKC_O4aAiQe11YHABQ&usg=AFQjCNFSYblAnBZ2obiu7mm3BpKhIUX07w
 or

http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html


for a detailed description.
You might as well start with a decent perm size.

-XX:PermSize=96m
-XX:MaxPermSize=128m


-server  has implicitly a MaxPermSpace=64m, if you do not change it.

Cheers

Christian




-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/OutOfMemoryError-for-geoserver-2-2-1-tp5019827p5020208.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.2 Server Status/Reload Config problem

2012-12-02 Thread Andrea Aime
On Sun, Dec 2, 2012 at 1:17 PM, Dominik Affolter wrote:

> I have the same problem with the following configurations:
>
> GeoServer 2.2
> Ubuntu 12.04.1 LTS
> 1.6.0_24 (OpenJDK 64-Bit Server VM)
>
> Is there any workaround? When can I expect this problem to be solved?
>

Workaround -> none that I know of
The problem will be solved when some developer finds time to look into it,
which in turn happens if either someone feels this is so important to work
on a Sunday, or some working hours contract needs it.
Hard to predict when either of these will happen.

This mailing list has almost 2000 people subscribed to it, if anybody feels
like preparing a patch the source code is here:
https://github.com/geoserver

Fork the repo, make the changes, issue a pull request with the fixes (with
unit tests
proving the fix works and ensuring it will keep on working in the future).
If anybody is interested but something is not clear, please subscribe to
the devel
list and ask for directions, we'll be happy to assist some new contributor.

Cheers
Andrea

PS: please avoid using OpenJDK, GeoServer WMS is know to run very slow on it
and some portions of the code do not work at all, better use Oracle JDK 1.6
which is the supported runtime platform.

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

---
--
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.2 Server Status/Reload Config problem

2012-12-02 Thread Dominik Affolter
I have the same problem with the following configurations:

GeoServer 2.2
Ubuntu 12.04.1 LTS
1.6.0_24 (OpenJDK 64-Bit Server VM)
 
Is there any workaround? When can I expect this problem to be solved?


Stefano Iacovella-2 wrote
> Hi
> 
> I missed to a step to reproduce your error. Indeed after reloading the
> configuration I did not click again on server status.
> I have just tried it on a new deployed 2.2 war on Tomvat 7 jdk 6 on
> windows
> and it does shows the exception.
> It really seems a bug, I have filled a bug for it
> 
> https://jira.codehaus.org/browse/GEOS-5371
> 
> Stefano
> ---
> 41.95581N 12.52854E
> 
> 
> http://www.linkedin.com/in/stefanoiacovella
> 
> http://twitter.com/#!/Iacovellas
> 
> 
> 2012/10/25 Ravi Pavuluri <

> ravitheja@

> >
> 
>> Stefan,
>>
>> I think you forgot to "Reply All". This problem is only happening in 2.2
>> and not the previous versions.
>>
>> Thanks,
>> Ravi.
>>
>>   --
>> *From:* Stefan Engelhardt (HBT) <

> Stefan.Engelhardt@

> >
>> *To:* Ravi Pavuluri <

> ravitheja@

> >
>> *Sent:* Thursday, October 25, 2012 1:41 AM
>> *Subject:* RE: [Geoserver-users] Geoserver 2.2 Server Status/Reload
>> Config problem
>>
>>   Hi all,
>> I have exactly the same problem.
>>
>> I am running Geoserver 2.2 in a tomcat 6.0.32 on Debian Squeeze. As far
>> as
>> I know, I didn't made any special configurations. I just deleted the most
>> preconfigured layers and style, added one workspace, one database and
>> some
>> styles and layers, did some changes to GeoWebCache and thats it.
>>
>> It seems to me, that there is just a bug in geoserver 2.2
>>
>> Thanks
>> Stefan
>>
>>  -Original Message-
>> *From:* Ravi Pavuluri [mailto:

> ravitheja@

> ]
>> *Sent:* Wednesday, October 24, 2012 9:21 PM
>> *To:* Geoserver-users
>> *Subject:* [bulk]: [Geoserver-users] Geoserver 2.2 Server Status/Reload
>> Config problem
>>
>> Hi All,
>>
>> I am trying out a workflow that is breaking "Server Status" on the
>> geoserver 2.2 admin web interface.
>> Steps for the workflow
>> 1) Logging into http://localhost:8080/geoserver/web
>> 2) Server status loads fine
>> 3) "Reload Config" at the right bottom of the page
>> 4) Clicking back on server status is throwing an error message. (Snippet
>> attached)
>>
>> I am able to repliacate on Windows 7 machine(exe) and linux(using war). I
>> am not sure if there is something custom at my end causing this. Any
>> suggestions are appreciated.
>>
>> Thanks,
>> Ravi.
>>
>>
>>
>>
>>
>>
>>
>> --
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_sfd2d_oct
>> ___
>> Geoserver-users mailing list
>> 

> Geoserver-users@.sourceforge

>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
> 
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> ___
> Geoserver-users mailing list

> Geoserver-users@.sourceforge

> https://lists.sourceforge.net/lists/listinfo/geoserver-users





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Geoserver-2-2-Server-Status-Reload-Config-problem-tp5010950p5020139.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users