MathGroup Archive 2000

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

Search the Archive

Memory Help

  • To: mathgroup at
  • Subject: [mg23650] Memory Help
  • From: hundalhm at
  • Date: Sun, 28 May 2000 23:09:02 -0400 (EDT)
  • References: <8gfsdb$> <8gicjr$>
  • Sender: owner-wri-mathgroup at

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`*"]

Hein Hundal

Sent via
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