Largest memory block available (All platforms)

Find the largest contiguous memory block available for array allocation on all platforms.

You are now following this Submission

>> largestmemblock
Maximum contiguous block is approximately:
(Accurate to 95% of real memory value)
833019 KB
813 MB

% More accurate value
>> largestmemblock([],0.9999)

Maximum contiguous block is approximately:
(Accurate to 95% of real memory value)
835717 KB
816 MB

Cite As

Manu R (2026). Largest memory block available (All platforms) (https://uk.mathworks.com/matlabcentral/fileexchange/25725-largest-memory-block-available-all-platforms), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0