Why does Matlab graphics use a lot of memory?
When I draw even the simplest plot in Matlab, each plot takes about 400MB of memory. I tried without re-installation, no effect.
Anyone having a similar problem?
I tried another computer in our office and found that the simplest plot takes about 20MB of memory, which seems like a lot, but it's great.
0.4GB, however, is insane, and plotting more than three graphs makes my computer useless.
I tried:
plot(1:10,1:10);
or
plot(1,1);
and similar plot commands.
figure();
itself does not use most of the memory, only graphics.
Specs: R2015a, Windows 7 Pro SP1, Dell, i5
I contacted Mathworks support and they recommended entering in Matlab (one time):
opengl('save','software')
and then restart matlab.
This configures the graphics NOT to use hardware openGL support.
This solved my problem !!