Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Memory Help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23650] Memory Help
  • From: hundalhm at my-deja.com
  • Date: Sun, 28 May 2000 23:09:02 -0400 (EDT)
  • References: <8gfsdb$bgo@smc.vnet.net> <8gicjr$i79@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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