PRODUCTS
Mathematica
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Certified Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Wolfram Blog
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Core Language
>
Tuning & Debugging
>
Memory Measurement & Optimization
>
Mathematica
>
Systems Interfaces & Deployment
>
Mathematica Sessions
>
Mathematica Session Information
>
Memory Measurement & Optimization
>
Built-in
Mathematica
Symbol
Memory Management
Tutorials »
|
MemoryConstrained
MaxMemoryUsed
ByteCount
Share
$HistoryLength
See Also »
|
Mathematica Session Information
Mathematica Sessions
Memory Measurement & Optimization
Tuning & Debugging
New in 6.0: System Interfaces & Deployment
More About »
MemoryInUse
MemoryInUse
[]
gives the number of bytes currently being used to store all data in the current
Mathematica
kernel session.
MemoryInUse
[
$FrontEnd
]
gives the number of bytes used in the
Mathematica
front end.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Current memory use in the kernel:
In[1]:=
Out[1]=
In[2]:=
Storing a million elements of
t
takes additional memory:
In[3]:=
Out[3]=
Current memory use in the front end:
In[1]:=
Out[1]=
Possible Issues
(1)
SEE ALSO
MemoryConstrained
MaxMemoryUsed
ByteCount
Share
$HistoryLength
TUTORIALS
Memory Management
MORE ABOUT
Mathematica Session Information
Mathematica Sessions
Memory Measurement & Optimization
Tuning & Debugging
New in 6.0: System Interfaces & Deployment
New in 1 | Last modified in 6
© 2008 Wolfram Research, Inc.