MATLAB Answers

Info

This question is closed. Reopen it to edit or answer.

2011b constantly freezes and no longer responds

1 view (last 30 days)
Christopher Jones
Christopher Jones on 14 Sep 2011
Closed: MATLAB Answer Bot on 20 Aug 2021 at 16:17
ok, so i have my matlab code that worked fine under 2010b and still works fine under 2010b. and often it also runs fine under 2011b, but for some reason 2011b freezes a lot while running my application, it then just does nothing anymore and doesnt respond. from what i can tell by looking at my console display after freezing it crashes at different points in my code with no apparent pattern... and as stated before i never had this with 2010b... so im curious has anybody else been experiencing this since upgrading?
luckily i still have both versions installed so i can continue my work, but it is still annoying, as i would like to use the latest sw version...
ps matlab running on mac osx in case that makes a difference.
  1 Comment
Kaustubha Govind
Kaustubha Govind on 14 Sep 2011
Christopher: I would recommend contacting Tech Support about this.

Answers (2)

Laurent
Laurent on 26 Sep 2011
I have got the same problem, this is pretty annoying Any solution?
  1 Comment
Jan
Jan on 26 Sep 2011
Please post the version of the OS and more details.

Laurent
Laurent on 29 Sep 2011
Additional information: MAC OS X version 10.6.8, 8 Go RAM
Matlab R2011b
Fichier de LOG Operating System: Darwin 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64 Processor ID: x86 Family 6 Model 7 Stepping 10, GenuineIntel Host Name: ord02093.synchrotron-soleil.fr Java Exception logged from mljHandleException: Java exception occurred: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41) at java.awt.image.Raster.createPackedRaster(Raster.java:458) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015) at java.awt.image.BufferedImage.<init>(BufferedImage.java:324) at com.mathworks.hg.uij.GraphicsContext.createOffscreenBuffer(GraphicsContext.java:216) Java Exception logged from mljHandleException: Java exception occurred: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41) at java.awt.image.Raster.createPackedRaster(Raster.java:458) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015) at java.awt.image.BufferedImage.<init>(BufferedImage.java:324) at com.mathworks.hg.uij.GraphicsContext.createOffscreenBuffer(GraphicsContext.java:216) Java Exception logged from mljHandleException: Java exception occurred: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41) at java.awt.image.Raster.createPackedRaster(Raster.java:458) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015) at java.awt.image.BufferedImage.<init>(BufferedImage.java:324) at com.mathworks.hg.uij.GraphicsContext.createOffscreenBuffer(GraphicsContext.java:216) Java Exception logged from mljHandleException: Java exception occurred: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41) at java.awt.image.Raster.createPackedRaster(Raster.java:458) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015) at java.awt.image.BufferedImage.<init>(BufferedImage.java:324) at com.mathworks.hg.uij.GraphicsContext.createOffscreenBuffer(GraphicsContext.java:216) Java Exception logged from mljHandleException: Java exception occurred:
  1 Comment
Malcolm Lidierth
Malcolm Lidierth on 29 Sep 2011
java.lang.OutOfMemoryError: Java heap space....
You could try increasing that in MATLAB preferences.

Community Treasure Hunt

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

Start Hunting!