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...

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

Reply via email to