Largest memory block available (All platforms)
Version 1.0.0.1 (2.19 KB) by
Manu R
Find the largest contiguous memory block available for array allocation on all platforms.
>> 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 (2024). Largest memory block available (All platforms) (https://www.mathworks.com/matlabcentral/fileexchange/25725-largest-memory-block-available-all-platforms), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Programmatic Model Editing in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.