This has come up quite a lot in the forums before, but there doesn't seem to be any decent answers to why its happening or how to cure it.
Im running MATLAB 2009a and Vista. The problem started suddenly out of the blue. To my knowledge no updates/ system configs had been changed. The machine is dedicated to running MATLAB.
The error occurs when running some demanding code after c. 15 mins of running the same operation.
I have Java 6 Update 25 and Java SDK 6 U21 installed.
Previous advice has included changing compatibility settings and over-writing which JRE MATLAB looks at.
Would be interested to hear some comment from MATHWORKS staff on this. It seems to repeat occuring with different versions of MATLAB and Java, so its clearly not specific to the actual software/code Im using.