Why do I get "java.lang​.OutOfMemo​ryError: OutOfMemoryError" when launching MATLAB?

1 view (last 30 days)
When I launch MATLAB or tab into MATLAB after working in another application, a large error starting with this:
 
java.lang.OutOfMemoryError: OutOfMemoryError
at sun.awt.windows.WClipboard.getClipboardData(Native Method)
...

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Jul 2015
This error will occur if you have a large amount of data in your clipboard. To resolve this issue, select a small amount of text in any application and type CTRL-C to put that text in your clipboard. This will replace the data in your clipboard with the text you selected. You should then be able to launch MATLAB.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2012a

Community Treasure Hunt

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

Start Hunting!