On 18/02/13 19:10, Andrea Aime wrote:
> If you have multiple FeatureTypeStyle object in your SLD Style, commonly
> used to get highway style road symbols, or generally speaking for force
> a particualr Z order in symbology, a BufferedImage will be allocated for
> each of the FTS besides the first one, so that feature can be read
> just once
> and painted over the different buffers as we go, the buffers are then
> merged
> to create a single image with the desired z-order
de-activating this feature leads to considerable memory footprint
decrease, from about 20GB to about 8GB

the image size being rendered is 26664 x 17626 pixels, with 4 bytes /
pixel, this would be about 1.8GB. so either this is generated multiple
times, or, well, I don't know :)
> This can be deactivated, there is a rendering hint to do so (don't
> remember it by heart).
>
> The second one is the label cache: the labels are accumulated during
> rendering into
> an in memory data structure, and then painted when all of the other
> rendering
> is done, on top of the existing map.
I looked at this, and I didn't really see how to disable the label
cache. I've found the LABEL_CACHE_KEY hint, but this looks like it
expects a label cache object, and there is no way to turn this off?


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to