[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] IIOMetadataNode is very memoryconsuming
From:       philip.race () oracle ! com (Phil Race)
Date:       2011-06-10 17:48:12
Message-ID: 4DF258DC.8070800 () oracle ! com
[Download RAW message or body]

Its now bug/rfe 7053536. It should be on bugs.sun.com in a couple of days.
Yes, we'd take a look at a patch. I understand that if its more than 
"simple"
(I hope we'll know what that means when we see it) then you'd need to
submit the Oracle Contributor Agreement first for us to accept it.

-phil.

On 6/10/2011 2:19 AM, Holmqvist Fredrik wrote:
> Hi,
> I just reported a bug about IIOMetadataNode attributes is always 
> initialized to an ArrayList. This is very problematic if the metadata 
> has many (>100k) nodes as empty ArrayLists start eating up all the JVM 
> memory.
> The bug report gave me no feedback about bug-id or possibility to 
> attach patches, so I wanted to ask if anyone is interested in a 
> proposed patch.
> The patch only inits attributes when needed, and takes care of dealing 
> with attributes when it is null. As attributes are private it is quite 
> easy to review and fix.
> It would be very welcome for everyone that uses GIS-software like 
> GeoServer, GeoTools, uDig and others as these can handle huge 
> raster-sets, but ATM chokes on metadata.
> Here is a real world example from geoserver-users mailing list: 
> http://sourceforge.net/mailarchive/message.php?msg_id=27620763
> _________________________________________
> Fredrik Holmqvist, Metria AB
> Webb: _www.metria.se_ <outbind://30/www.metria.se>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic