Mathematica 9 is now available

ShareLeafCount

ByteCount

FilledSmallSquareByteCount[expr] gives the number of bytes used internally by Mathematica to store expr.

FilledSmallSquareByteCount does not take account of any sharing of subexpressions. The results it gives assume that every part of the expression is stored separately. ByteCount will therefore often give an overestimate of the amount of memory currently needed to store a particular expression. When you manipulate the expression, however, subexpressions will often stop being shared, and the amount of memory needed will be close to the value returned by ByteCount.

FilledSmallSquare See The Mathematica Book: Section 2.13.4.

FilledSmallSquare See also: LeafCount, MemoryInUse, MaxMemoryUsed, Length, StringLength, Depth.

Further Examples

ShareLeafCount



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.