|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Batch Run SlowsSo, I am running a batch, and as the batch run proceeds it gets slower and slower. The reasoning seems to be that I am running out of memory. I guess this happens, because each proceeding model is not deleted before the next model begins its run. So it seems that eventually all that memory is still allocated and things slow to a crawl. How to I go about freeing up memory from the previous run? Thanks in advance.
-- Erich Power is not in what the establishment has, but what you think it has. -- Saul Alinsky ------------------------------------------------------------------------- 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 |
|
|
Re: Batch Run SlowsYou may need to run the garbage collection in Java:
Something like this: Runtime r = Runtime.getRuntime(); r.gc(); David Zhu Assistant Professor College of Business Administration Western Washington University On Sat, Jun 21, 2008 at 5:22 AM, Erich <erichlf@...> wrote: So, I am running a batch, and as the batch run proceeds it gets slower and slower. The reasoning seems to be that I am running out of memory. I guess this happens, because each proceeding model is not deleted before the next model begins its run. So it seems that eventually all that memory is still allocated and things slow to a crawl. How to I go about freeing up memory from the previous run? Thanks in advance. ------------------------------------------------------------------------- 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 |
|
|
Re: Batch Run SlowsCan you provide a bit more information such as Repast
version, memory usage, etc. Have you tried increasing the JVM heap
size? The Repast S batch runner should take care of garbage collection
between runs assuming that user-generated code is not continually allocating
memory outside the repast runtime.
eric
Eric Tatara,
Ph.D. From: repast-interest-bounces@... [mailto:repast-interest-bounces@...] On Behalf Of Erich Sent: Saturday, June 21, 2008 8:23 AM To: repast-interest@... Subject: [Repast-interest] Batch Run Slows -- Erich Power is not in what the establishment has, but what you think it has. -- Saul Alinsky ------------------------------------------------------------------------- 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 |
|
|
Re: Batch Run SlowsWell, I am using the most current Repast J. I realized that I was not clearing my agentList. However, I have not yet determined if that fixes the issue. I am still working on that. Once I do some more testing I will provide you with more information. Thank you for your help.
Erich On Mon, Jun 23, 2008 at 2:18 PM, Tatara, Eric R. <tatara@...> wrote:
-- Erich Power is not in what the establishment has, but what you think it has. -- Saul Alinsky ------------------------------------------------------------------------- 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 |