[Geoserver-users] Geoserver and Java OutOfMemoryError

Hi,

Try first if this request works for you:

http://localhost:8080/geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=topp:states

If it works the difference must be in your layer test:test and its styles and you should tell us more about the data and your SLD.

-Jukka Rahkonen-

···

Luciano Martin Galletti wrote:

I’m using Win 8.1 Geoserver 2.8.1 and Tomcat 7

when i try :

http://localhost:8080//geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=test%3Atest

i see:

<ServiceException](http://localhost:8080/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd"><ServiceException)>
java.lang.OutOfMemoryError: PermGen space
PermGen space

how i can fix it?

i’ve read something on the list but is for Linux or for win 2008 and i cannot find catalina.bat on my win8.1

Thanks in advance

Galletti

with:

http://localhost:8080/geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=topp:states

i recieve:


java.lang.OutOfMemoryError: PermGen space
PermGen space

same error

Hi,

Try first if this request works for you:

http://localhost:8080/geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=topp:states

If it works the difference must be in your layer test:test and its styles and you should tell us more about the data and your SLD.

-Jukka Rahkonen-

Luciano Martin Galletti wrote:

I’m using Win 8.1 Geoserver 2.8.1 and Tomcat 7

when i try :

http://localhost:8080//geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=test%3Atest

i see:

<ServiceException](http://localhost:8080/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd"><ServiceException)>
java.lang.OutOfMemoryError: PermGen space
PermGen space

how i can fix it?

i’ve read something on the list but is for Linux or for win 2008 and i cannot find catalina.bat on my win8.1

Thanks in advance

Galletti

rebooting tomcat with:
http://localhost:8080/geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=topp:states

i can see legend


From: jukka.rahkonen@anonymised.com
To: galletti77@anonymised.com; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Geoserver and Java OutOfMemoryError
Date: Sun, 24 Jan 2016 20:51:25 +0000

Hi,

Try first if this request works for you:

If it works the difference must be in your layer test:test and its styles and you should tell us more about the data and your SLD.

-Jukka Rahkonen-

Luciano Martin Galletti wrote:

I’m using Win 8.1 Geoserver 2.8.1 and Tomcat 7

whilw when i try now :

http://localhost:8080//geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=test%3Atest


Can’t obtain the schema for the required layer.
test:test layer does not exist.

geoserver-GetLegendGraphic.image.png