Title: Message Title
|
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Jody Garnett
|
|
Components:
|
wms extension
|
|
Created:
|
23/Mar/15 10:08 AM
|
|
Priority:
|
Major
|
|
Reporter:
|
Andrea Aime
|
|
|
This is not a classic leak, in that GC might eventually fix it, but if there is not enough memory pressure to trigger GC, we can have the following:
-
The server declares GZIP support and we enable it
-
We make requests using gzip and we get back compressed stream
-
We create a GZipInputStream, which uses a Deflater, which allocates native memory
-
Even if we close the http response, we fail to close that stream (so the http stream gets closed, but the gzip one does not)
See here for a description of the leak: http://www.devguli.com/blog/eng/java-deflater-and-outofmemoryerror/)
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel