MASON-INTEREST-L Archives

May 2014

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Francesco Pizzitutti <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Wed, 14 May 2014 23:30:59 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (12 lines)
Hi,

I am creating and destroying a lot of agents during my simulation. They are all 
attached to a SparseGrid2D. For some reason when I stop, with the stopper an 
agent, the reference between the agent and the grid remain active. This leads to 
an increase in the memory use and to a progressive slowdown of the simulation.  

If I periodically reset the sparseGrid2D containing all the agents this remove all 
the references and free memory space. Is this the only solution to this problem?

Francesco

ATOM RSS1 RSS2