Why do I get "java.lang.OutOfMemoryError: OutOfMemoryError" when launching MATLAB?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 30 Jul 2015
Answered: MathWorks Support Team
on 30 Jul 2015
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
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Environment and Settings 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!