Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Estimating memory usage of expressions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108965] Estimating memory usage of expressions
  • From: Jim Lambaugh <lambaugh at gmail.com>
  • Date: Thu, 8 Apr 2010 08:03:13 -0400 (EDT)

Hi

Is there a way to estimate how many bytes the different expressions in
Mathematica take from the memory? For example I wish to know how many
bytes a NxN matrix with real entries is, the list of its eigenvectors,
eigenvalues etc.

I know of the command "ByteCount", but the results I get are not
consistent, i.e. a list of 1 integers does not take up the same amount
of memory as one single integer etc. So: Is there a way to estimate
these things? I'm running on a 32-bit system (if that makes a
difference).


  • Prev by Date: Re: Simplifying multiple expressions
  • Next by Date: Bug in PadLeft/PadRight
  • Previous by thread: Inverse Laplace Transform
  • Next by thread: Re: Estimating memory usage of expressions