Another thing I noticed is a comment in BufferedCoordinateOperationFactory:
The pool of cached transformations. This map can not be static, because
the values may
be different for the same ({@code sourceCRS}, {@code targetCRS}) pair
dependending of
hint values like {@link Hints#LENIENT_DATUM_SHIFT}.
But, my jmap only show 2 instances (when doing both Orthographic and
Stereographic) of BufferedCoordinateOperationFactory so, at the end, is like
having a static pool of cached transformations.
That pool holds instances of CRSPair's, which show in 100's of thousands
instances in my jmap.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Memory-leak-when-using-StreamingRenderer-with-variations-in-WKT-based-CRS-s-tp5282556p5282565.html
Sent from the geotools-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel