Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0.0
-
Fix Version/s: None
-
Component/s: WCS
-
Labels:None
-
Environment:Windows server 2003, JDK 1.6.06
-
Number of attachments :
Description
I have a huge imagemosaic (45000 png files with 45000 worldfiles) and a shapefile with the index for all these files. If I request:
localhost:8080/geoserver/ows?service=WCS&request=GetCoverage&format=png&version=1.0.0&&coverage=geodan:SwisstopoVec200R&resx=1&resy=1&crs=EPSG:3035&BBOX=4210298.73562557,2695385.2900159317,4210649.130299931,2695865.828956959
It should produce a PNG file of 350x480. Instead it crashes with an OutOfMemoryError. The same request on the sameserver with the same data but Geoserver 1.7.6 does work (albeit with a memoryleak).
I've included the commandline output of Geoserver from startup to crash. And I had -XX:-HeapDumpOnOutOfMemoryError added to the startup command.
As far as I know WCS does not use overviews to provide the max accuracy, which mean it will load all of the original image. If the original image is not properly tiled (tiled geotiff) this will definitely result in a OOM if the file is big.
Unfortunately I don't know about too many details to comment intelligently on this one, but I've cc'ed Simone and Alessio that surely know the code better than me