Hello list

We're trying to read a reasonably large shapefile (~45MB in the .shp 
file, ~30MB in the .dbf file) using the IndexedShapefileDataStore. 
Everything works fine when a previously generated .qix file is 
available. However, when the QuadTree needs to be generated, too much 
memory is being allocated (up to 100MB before blowing up the memory 
heap). This happens at method ShapeFileIndexer.buildQuadTree().

Is this to be expected? It ends up being a little annoying since often 
the .qix file is not present and/or there are timesamp differences 
between the files that end up requesting a new QuadTree to be built. Is 
there a a more memory-friendly way to build the tree?

Thanks a lot,
Milton

-- 

Milton Jonathan
Grupo GIS e Meio Ambiente
Tecgraf/PUC-Rio
Tel: +55-21-3527-2502

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to