Hello all,

Looking for a leg-up or suggestion for my project.  I'm using GT2 to do
a network simulation using the graph module.  Currently, it's working
like a champ on a small city (~200 street features loaded from a
shapefile).  I took a swing at the a large city (Washington DC) and I'm
running into memory issues.  I've already increased the java VM size
and...well it aint hacking it.  I think the majority of the problem is
that I'm using a ShapefileDataStore to access shapefiles and then
building a MemoryFeatureCollection of features from multiple files....I
attempted to make this cook with about 100,000 features and it's just
obviously structured wrong.

 

So, if anyone has any steer for me on how to restructure I'd be
grateful.  Couple thoughts/questions:

 

1.      If I make another ShapefileDataStore as a grand collection
(instead of the MemoryFeatureCollection) and write to it (basically
creating a new composite shapefile), will that alleviate the useage of
physical memory?  As in, when I "get" a reference to the object
(Feature) of a graph element, will it do this via the ShapefileDataStore
and file access or are all of the features still retained in memory?
2.      Is putting a GeoServer (or other server) implementation on my
machine or networked host a better answer?

 

Thanks much,

Jeff

-------------------------------------------------------------------------
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-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to