Hi Andrea, Simone,
  I ended up having to install 64bit java (but now don't have native JAI)
as none of the suggestions were working. It wasn't letting me put the xmx
above 1G before, but now I've set it to 3G and its working.

We may end up going with a linux deployment, but for now it'll have to be
Windows.

Thanks both,
Jonathan


On 9 April 2013 17:59, Andrea Aime <[email protected]> wrote:

> On Tue, Apr 9, 2013 at 6:47 PM, Jonathan Moules <
> [email protected]> wrote:
>
>> 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
>>
>
> Now, this is one of the things that should never happen. This is a JVM
> crash, so you're hitting a JVM bug (at most the JVM should state it cannot
> allocate memory, never crash like this).
>
>
>>
>> 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 :-) ).
>>
>
> Well, if you are in the business of handling large raster requests 1GB
> might not be enough, pump up -Xmx to something higher (do the math, how many
> concurrent requests do you want to handle? How much memory do they
> consume?)
>
> And then probably you want to lower the JAI settings back to their
> original values?
>
> 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

Reply via email to