MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Garbage collection problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51901] Re: Garbage collection problem
  • From: D Herring <dherring at at.uiuc.dot.edu>
  • Date: Thu, 4 Nov 2004 01:51:05 -0500 (EST)
  • References: <cm7d0u$lho$1@smc.vnet.net> <cma0s1$8vg$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Sean,

Thanks for looking at this.  However, your suggestion actually made
things worse.  Now, my memory usage increases each time I "run" example
a, as well as example b.

Is this problem related to my version/platform of Mathematica?

Does anyone know of an equivalent for "ls -l" that I could run on
Mathematica to track down the memory hog?  I tried several things, but 
it looks like this memory is out of my reach.

For example,
(* begin *)
objects = Names[];
sizes = Table[ByteCount[objects[[i]]], {i, Length[objects]}];
Total[sizes]
(* end *)

Running this code snippet doesn't show any increase in the memory used 
by my objects, even though MemoryInUse[] does.  Therefore, I want to 
know, where is my memory going?

Later,
Daniel


  • Prev by Date: Re: How to include images and graphics in Mathematica
  • Next by Date: Re: Plotting scattergram
  • Previous by thread: Re: Garbage collection problem
  • Next by thread: Re: Re: Garbage collection problem