|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Slow startup times with GIS dataHi All,
I'm creating a bunch of agents from a shapefile, and it's taking a long time for the model to start - almost two minutes, for a set of about 17000 agents. Most of the time is spent *after* the shapefiles have been read, and the agents have been created. Profiling with jiprof, for just the portion after the shapefile has been parsed and before the model starts to display gives a *lot* of output along the lines of: +------------------------------ | Thread: 19 (interaction #527) +------------------------------ Time Percent ----------------- --------------- Count Total Net Total Net Location ===== ===== === ===== === ========= 1 3.2 0.3 100.0 8.2 +-- StandardPluginClassLoader:loadClass (org.java.plugin.standard) 18 2.8 2.8 86.7 86.2 | +-- StandardPluginClassLoader:loadClass (org.java.plugin.standard) 17 0.0 0.0 0.1 0.1 | | +-- PluginClassLoader:getPluginDescriptor (org.java.plugin) 17 0.0 0.0 0.3 0.3 | | +-- IdentityImpl:getId (org.java.plugin.registry.xml) 1 0.0 0.0 0.6 0.2 | +-- Log4JLogger:isDebugEnabled (org.apache.commons.logging.impl) 1 0.0 0.0 0.1 | | +-- Log4JLogger:getLogger (org.apache.commons.logging.impl) 1 0.0 0.0 0.3 | | +-- Category:isDebugEnabled (org.apache.log4j) 1 0.0 0.0 0.1 | | | +-- Hierarchy:isDisabled (org.apache.log4j) 1 0.0 0.0 0.1 | | | +-- Category:getEffectiveLevel (org.apache.log4j) 1 0.0 0.0 0.1 | | | +-- Priority:isGreaterOrEqual (org.apache.log4j) 1 0.0 0.0 0.1 | +-- PluginClassLoader:getPluginDescriptor (org.java.plugin) 20 0.0 0.0 0.2 0.2 | +-- IdentityImpl:getId (org.java.plugin.registry.xml) 19 0.0 0.0 0.2 0.2 | +-- PluginClassLoader:getPluginManager (org.java.plugin) 17 0.1 0.1 3.7 3.2 | +-- StandardPluginManager:getPluginClassLoader (org.java.plugin.standard) 51 0.0 0.0 0.5 0.5 | | +-- IdentityImpl:getId (org.java.plugin.registry.xml) 1 0.0 0.0 0.2 0.1 | +-- StandardPluginManager:isPluginActivated (org.java.plugin.standard) 1 0.0 0.0 0.1 | | +-- IdentityImpl:getId (org.java.plugin.registry.xml) 1 0.0 0.0 0.2 0.1 | +-- StandardPluginManager:isPluginActivating (org.java.plugin.standard) 1 0.0 0.0 0.1 | | +-- IdentityImpl:getId (org.java.plugin.registry.xml) Is there likely to be anything I have done to cause this, or is this normal behaviour? -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Repast-interest mailing list Repast-interest@... https://lists.sourceforge.net/lists/listinfo/repast-interest |
| Free Forum Powered by Nabble | Forum Help |