Memory

4 views (last 30 days)
Gregory Vernon
Gregory Vernon on 18 Feb 2012
Edited: Image Analyst on 16 Oct 2013
Can anyone explain this? feature memstats
Physical Memory (RAM):
In Use: 2493 MB ( 9bd51000)
Free: 1485 MB ( 5cdeb000)
Total: 3979 MB ( f8b3c000)
Page File (Swap space):
In Use: 3313 MB ( cf1c1000)
Free: 4642 MB ( 1222e9000)
Total: 7956 MB ( 1f14aa000)
Virtual Memory (Address Space):
In Use: 1834 MB ( 72ae8000)
Free: 8386772 MB (7ff8d4f8000)
Total: 8388607 MB (7fffffe0000)
Largest Contiguous Free Blocks:
----->1. [at 18000b000] -----> 8376280 MB (7fcfd8d5000)
2. [at 7feff241000] 4107 MB ( 100bff000)
3. [at a4510000] 2488 MB ( 9b870000)
4. [at 7fe7d902000] 1848 MB ( 7384e000)
5. [at 13fda9000] 1026 MB ( 40257000)
6. [at 982c0000] 130 MB ( 8250000)
7. [at 15000000] 130 MB ( 8210000)
8. [at 29430000] 66 MB ( 4260000)
9. [at 213a0000] 64 MB ( 4090000)
10. [at 11360000] 60 MB ( 3c20000)
======= ==========
---------> 8386203 MB (7ff69b59000)
I've got a laptop with a 500 GB HD and 4 GB of ram. Why does Matlab say I've got 8 Terabytes of contiguous memory?
  2 Comments
James Tursa
James Tursa on 18 Feb 2012
What version of MATLAB and Operating System?
Gregory Vernon
Gregory Vernon on 27 Feb 2012
MATLAB Version 7.13.0.564 (R2011b)
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java VM Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode

Sign in to comment.

Answers (1)

Jiro Doke
Jiro Doke on 18 Feb 2012
That's the theoretical limit that MATLAB can access on your 64-bit system, which is independent of how much RAM and Swap you have. The actual limit is the "Swap Space" shown above - 4642 MB free.
In case you're not aware of these, there are a few tech notes on memory and MATLAB that you might find useful. This one is a good start.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!