Why is MATLAB R2012b sluggish and why does the UI hang occassionally?

1 view (last 30 days)
When I enter the following line at the command prompt,
stem(true(2664,1))
MATLAB becomes unresponsive.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Jul 2013
With the new interface in R2012b, MATLAB uses more Java Heap Space (graphics components etc.) by default. With the default Java Heap Space the UI may not have enough memory.
As a first step for addressing R2012b sluggishness, please raise the Java Heap Space a fair amount. On my system with 8Gb of RAM running Windows 7x64 Sp1, I have found about 1000MB to be really helpful. Please go to:
Home Tab -> Preferences -> General -> Java Heap Space, and bump it up a bit. Apply the changes and restart MATLAB

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2012b

Community Treasure Hunt

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

Start Hunting!