the memory used by pcolor
Show older comments
I have a array with 2GB data, it is 10000*26843. And my computer has 64G ram.
When I use pcolor to plot data, my computer's memory usage reaches 100%.
The matlab2019 will display "Out of Memory" and crashs.
I have set the Javaheap memory to 64GB.
And when I use imagesc, it will works.
So, why pcolor or surf takes lots of memory which is much more than the data.
Thanks a lot.
1 Comment
Adam
on 26 Jul 2019
pcolor and surf create 'Surface' objects, imagesc creates an 'image' object, which I guess takes up noticeably less memory since surfaces also have a z component to support, even though in the case of pcolor you generally view it as 2d.
Answers (0)
Categories
Find more on 2-D and 3-D Plots 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!