Go Down

Topic: Error Java (Read 942 times) previous topic - next topic

kriscox

Hi,

I tested IDE 1.0.3, 1.0.5 and 1.5.5 and i've the same error.
I tested with windows 7 pro and Windows XP Pro and always the same error.

It's an error java.

Have you a solution for the message error :

Exception in thread "AWT-EventQueue-0" 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.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:163)
   at edu.mit.blocks.codeblockutil.GraphicsManager.getGCCompatibleImage(GraphicsManager.java:39)
   at edu.mit.blocks.renderable.RenderableBlock.updateBuffImg(RenderableBlock.java:1378)
   at edu.mit.blocks.renderable.RenderableBlock.<init>(RenderableBlock.java:271)
   at edu.mit.blocks.renderable.RenderableBlock.<init>(RenderableBlock.java:186)
   at edu.mit.blocks.renderable.FactoryRenderableBlock.<init>(FactoryRenderableBlock.java:40)
   at edu.mit.blocks.workspace.PageDrawerLoadingUtils.loadBlockDrawerSets(PageDrawerLoadingUtils.java:236)
   at edu.mit.blocks.workspace.Workspace.loadWorkspaceFrom(Workspace.java:849)
   at edu.mit.blocks.controller.WorkspaceController.loadFreshWorkspace(WorkspaceController.java:397)
   at com.ardublock.core.Context.resetWorksapce(Context.java:105)
   at com.ardublock.core.Context.<init>(Context.java:71)
   at com.ardublock.core.Context.getContext(Context.java:58)
   at com.ardublock.ui.OpenblocksFrame.<init>(OpenblocksFrame.java:69)
   at com.ardublock.ui.ArduBlockToolFrame.<init>(ArduBlockToolFrame.java:3)
   at com.ardublock.ArduBlockTool.init(ArduBlockTool.java:29)
   at processing.app.Editor.addTools(Editor.java:794)
   at processing.app.Editor.buildToolsMenu(Editor.java:670)
   at processing.app.Editor.buildMenuBar(Editor.java:476)
   at processing.app.Editor.<init>(Editor.java:205)
   at processing.app.Base.handleOpen(Base.java:704)
   at processing.app.Base.handleOpen(Base.java:669)
   at processing.app.Base$6.actionPerformed(Base.java:1092)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)


Thanks

desmondttm123

hi, i have the same error as you as well, i think its the compiler

Code: [Select]

Sketch uses 1,116 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 11 bytes (0%) of dynamic memory, leaving 2,037 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:129)
at processing.app.Sketch.upload(Sketch.java:1672)
at processing.app.Sketch.exportApplet(Sketch.java:1578)
at processing.app.Sketch.exportApplet(Sketch.java:1550)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2399)
at java.lang.Thread.run(Thread.java:695)
Caused by: processing.app.debug.RunnerException: Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:113)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:127)
... 5 more

kriscox

No Solution for this problem ?

Go Up