MathGroup Archive 2000

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

Search the Archive

Memory Help


I am trying to find out where I am using memory in a Mathematica
Program.  I am using the code below to see what memory is associated
with each symbol, but this doesn't seem to get all the memory
(MemoryInUse[] often reports significantly more).  Is there another way
to see how the memory is used?


mybits[x_Symbol] := ByteCount[{DownValues[x], UpValues[x]}] ;
mybits[x_] := ByteCount[x];
{#, mybits[ToExpression[#]]} & /@ Names["Global`*"]

Cheers,
Hein Hundal



Sent via Deja.com http://www.deja.com/
Before you buy.


  • Prev by Date: toolbar not working
  • Next by Date: Integral Convergence
  • Previous by thread: toolbar not working
  • Next by thread: Integral Convergence