Hi, There can be a memory leak, but one feature of ECW SDK 3.x code is that it is caching some data from the last visited areas and caching can't be turned off. For sure a good feature for interactive use of a map but totally useless for you when you are seeding the tilecache. You can see the effect by opening a biggish ECW image with any SDK 3.x based viewer, like ER Viewer, and doing a lot of panning and zooming. The memory reservation increases rather high. If you do not do anything the memory is freed after exactly 10 minutes if I remember right. This is just nice to know, you cannot cure it because the reason in in the closed ECW SDK code and 3.x version is old will not be fixed. However, many open source projects stick with version 3.x because license allows redistributing the dlls but 4.x license does not.
-Jukka- ________________________________ Björn Harrtell wrote: > Thanks. I did find 3.3 dlls (actually yanked them from the FWTools package) > which enabled ECW with the GDAL plugin... > What I want to do is actually to create a tilecache from this ECW using > GeoServer then remove it so it's never actually served to any user which I > think is acceptable by the license... but seeding the cache results in > GeoServer out of heap memory rather quickly so in the end I resorted to > converting the ECW to GeoTIFF using GDAL as you suggested. Seeding from the > GeoTIFF is rock solid, so I think there is memory leaks going on using > GDAL/ECW and GeoServer. > /Björn 2012/10/2 Rahkonen Jukka <[email protected]<mailto:[email protected]>> Daniele Romagnoli wrote: Hi Bjorn, On Mon, Oct 1, 2012 at 5:55 PM, Björn Harrtell <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> wrote: Hey all, I'm having troubles getting ECW to work in GeoServer 2.2 with the GDAL plugin. Anyone else experiencing the same? I'm suspecting I need a specific version of the ECW SDK. Which version(s) of the ECW SDK is supported with image-ext 1.1.4? > Supposing you have purchased an ECW license (which is mandatory to use it in > a Server), the imageio-ext 1.1.4 plugin deals with ECW SDK 3.3. We didn't test it with more recent version of it, yet. > I think you could try with a more recent version of GDAL (we did some test > with 1.8.1 and 1.9.x) which may support that ECW version. > Latest GDAL native libraries are available there: > http://www.gisinternals.com/sdk/<http://www.gisinternals.com/sdk/> > I see they have also provided some ECW plugin installer (I have never tried > them. They could be useful for your needs). > Please, let us know. I believe that those packages are compiled with ECW SDK 3.3, based on the information from http://www.gisinternals.com/sdk/PackageInfo.aspx?file=release-1600-x64-gdal-mapserver.zip Information may be old, though. If you want to know for sure, send mail to Tamas and ask. Problem with v. 4.2 is that ECW binaries cannot be delivered with the code because of the license, but every user must dowload them by himself from Erdas. Some more reading about GDAL and ECW is here http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw You may want to have a try by converting ECW images to tiled JPEG-in-tiff images with GDAL. Image size is about the same as with ECW, difference in quality is not huge and license problems are gone for ever. Commands to use (adapt parameters to suit your imagery): gdal_translate -of GTiff -co tiled=yes -co compress=jpeg -co photometric=YCBCR input.ecw output.tif gdaladdo -r average --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR output.tif 2 4 8 16 32 64 -Jukka Rahkonen- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Geoserver-users mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
