Hmm, may have spoken too soon. Increasing it to 128MB results in GeoServer
crashing:
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 101632500 bytes for
jbyte in C:\BUILD_AREA\jdk6_38\hotspot\src\share\vm\prims\jni.cpp
Looking at the documentation, it doesn't say which portion of the memory I
assigned at startup that its drawing from. What do I need to increase to
actually allow me to use the 128MB?
(The machine has tens of GB of free RAM, so that's not the issue)
I tried doubling to: "set JAVA_OPTS="-Xmx1G -Xms256m -XX:MaxPermSize=512m"
- but to no avail (memory management is an arcane art to me :-) ).
Any suggestions? Otherwise I guess I can just limit them to 300DPI.
Thanks,
Jonathan
On 9 April 2013 17:33, Jonathan Moules
<[email protected]>wrote:
> Thanks both! Seems there are even more memory settings than I thought
> there were.
>
>
>
> On 9 April 2013 17:26, Andrea Aime <[email protected]> wrote:
>
>> On Tue, Apr 9, 2013 at 6:16 PM, Jonathan Moules <
>> [email protected]> wrote:
>>
>>> Hi list,
>>> I'm trying to print a high DPI (600) PDF. Problem is, GeoServer fails,
>>> providing this exception:
>>>
>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
>>> ServiceExceptionReport SYSTEM "
>>> http://wppgeog3:8082/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd">
>>> <ServiceExceptionReport version="1.1.1" > <ServiceException>
>>> *Rendering request would use 99250KB, whilst the maximum memory
>>> allowed is 65536KB*
>>> </ServiceException></ServiceExceptionReport>
>>>
>>> My problem is, where is this set?
>>>
>>
>> It's in the WMS settings, and documented here:
>> http://docs.geoserver.org/stable/en/user/services/wms/configuration.html
>>
>> Cheers
>> Andrea
>>
>> --
>> ==
>> GeoServer training in Milan, 6th & 7th June 2013! Visit
>> http://geoserver.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
>>
>> -------------------------------------------------------
>>
>
>
This transmission is intended for the named addressee(s) only and may contain
sensitive or protectively marked material up to RESTRICTED and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this transmission in error please notify the
sender immediately. All email traffic sent to or from us, including without
limitation all GCSX traffic, may be subject to recording and/or monitoring in
accordance with relevant legislation.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users