|
From: Nick C. <nic...@ve...> - 2003-05-14 12:29:26
|
If you are in batch mode you should be able to create a new DataRecorder, add the appropriate sources and so on each run. RePast will realize that it is in batch mode and append the new data the file appropriately. If the DataRecorder is garbage collected then the reference to the agent should be gc'd as well. Nick On Tue, 2003-05-13 at 18:40, Phil Feldman wrote: > I've downloaded a trial version of JProbe, which seems pretty > impressive, although I'm leary of the price (not mentioned on the > website...). > > It turned out that the big problem was that I was storing the scene > graph from run to run - not a good thing. Now I'm tracing through > smaller issues. Nick, in DataRecorder, is there a way to clear out the > "sources" Vector? When I use createNumericDataSource(), I pass in a > reference to an agent which is left to hang between batches. > > Thanks, > > Phil > > >Hi, > > > >I use OptimizeIt. I've often seen memory leaks in a BatchController when > >a simulation was converted from GUI mode and there were still references > >to JFrames and such around. Even though the frames were never displayed > >repeated instantiations kept eating more and more memory. > > > >Nick > > > >On Sat, 2003-05-10 at 18:24, Phil Feldman wrote: > > > > > >>I'm running Windows XP and JDK 1.4.1.01. > >> > >>What sort of errors were you getting? > >> > >>Thanks, > >> > >>Phil > >> > >> > >> > >>>Hi, > >>> > >>>What OS and what version of the java SDK are you using? > >>> > >>>I was getting strange errors during my batch runs on Linux with Sun's > >>>Hotspot VM for > >>>java 1.4.1. When I reported the error to Sun, they said that there's a > >>>known garbage > >>>collection bug in that version, which was patched in their next beta: > >>>1.4.2. > >>> > >>>I don't know if this helped you at all. > >>> > >>>Gulya > >>> > >>>At 10:01 AM 5/10/2003 -0400, Phil Feldman wrote: > >>> > >>> > >>> > >>>>Hi all, > >>>> > >>>>Does anyone use or have a reccomendation for a memory debugger? When > >>>>I'm running sims in batch mode I get out of memory errors after the > >>>>15th run or so. > >>>> > >>>>Thanks, > >>>> > >>>>Phil > >>>> > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > >>>>The only event dedicated to issues related to Linux enterprise solutions > >>>>www.enterpriselinuxforum.com > >>>> > >>>>_______________________________________________ > >>>>Repast-developer mailing list > >>>>Rep...@li... > >>>>https://lists.sourceforge.net/lists/listinfo/repast-developer > >>>> > >>>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > >>>The only event dedicated to issues related to Linux enterprise solutions > >>>www.enterpriselinuxforum.com > >>> > >>>_______________________________________________ > >>>Repast-developer mailing list > >>>Rep...@li... > >>>https://lists.sourceforge.net/lists/listinfo/repast-developer > >>> > >>> > >>> > >> > >> > >> > >>------------------------------------------------------- > >>Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > >>The only event dedicated to issues related to Linux enterprise solutions > >>www.enterpriselinuxforum.com > >> > >>_______________________________________________ > >>Repast-developer mailing list > >>Rep...@li... > >>https://lists.sourceforge.net/lists/listinfo/repast-developer > >> > >> > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Repast-developer mailing list > Rep...@li... > https://lists.sourceforge.net/lists/listinfo/repast-developer -- Nick Collier <nic...@ve...> |