On Thu, Dec 9, 2010 at 3:13 PM, Just van den Broecke
<[email protected]> wrote:
> Hi Andrea,
>
> On 09-12-10 14:05, Andrea Aime wrote:
>> On Thu, Dec 9, 2010 at 11:59 AM, Just van den Broecke
>> <[email protected]>  wrote:
>>> Hi,
>>>
>>> I upgraded GS from 2.0.2 to 2.1-beta2. I now get OOM exceptions and
>>> locking errors (see below) from Java NIO FileChannel (memory mapped
>>> files I think) when serving Shapefiles several times via WMS. Usually
>>> the first rendering after a fresh start of GS went OK. The same
>>> config/Shapefiles did not cause these exceptions in 2.0.2.
>>
>> Are you running on Windows? I'd suggest to disable memory mapping there,
>> the OS is simply not good enough to handle memory maps effectively.
> No on Ubuntu Linux, settings:
> Ubuntu 9.10 32b, 12 GB RAM, Sun JDK 1.6_22, native JAI+ImageIO, Tomcat
> 6.0.29, no Gdal bindings. Tomcat JAVA_OPTS="-server -Xmx1500M -Xms256M
> -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:MaxPermSize=512m -XX:+UseParallelGC"
>
> I use a directory of (10) Shape files as a datastore. The problem
> happens only with one Shape file (the largest: 370MB dbf).

Hmmm... odd, during the FOSS4G shootout we had 1.7GB .shp and
dbf files over 2GB and found no issues.

Is it possible to have the shapefile in question along with the style
and the request that makes it break?

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to