Michael Lutz wrote:
> Justin Deoliveira wrote:
>> Hmmm, do you have any idea of how detailed the polygon is, like how many
>> coordinates are stored. 
> 
> It has 66.000 coordinates.
> 
> I have had similar experiences with JTS and very
>> large polygons. A lot of memory can be burned, it may just be that you
>> are stuck in swapping hell... Have you tried increasing the memory that
>> java is running with?
> 
> I don't think it's a memory problem. I have the max heap space set to 
> 1GB, but it doesn't seem to be using any of this. Only the processor 
> seems to be very busy. Also, when using the normal parser
> 
>    Parser parser = new Parser(configuration);
>    FeatureCollection fc = (FeatureCollection) parser.parse( in );
> 
> it parses in about 9 sec without problems. So also it should not be a 
> JTS problem, either...
Ok, I am convinced its not a memory issue too :)... Could you provide a
"mock" gml file which simulates the data, or perhaps just describe it to
me. Is the entire document a single feature representing Greenland?
> 
> Michael
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 
> !DSPAM:1004,45e2fa4118261510810322!
> 


-- 
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to