安装Ardublock后系统无法打开示例代码程序
Ardublock后系统无法打开示例代码程序,系统IDE下发提示JAVA系统内存溢出,大家是怎么处理的? IDE报的错误:Arduino Version: 1.0.5-r2
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.codeblocks.rendering.BlockShapeUtil.getBevelImage(BlockShapeUtil.java:178)
at edu.mit.blocks.renderable.RenderableBlock.updateBuffImg(RenderableBlock.java:1387)
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:110)
at com.ardublock.core.Context.<init>(Context.java:76)
at com.ardublock.core.Context.getContext(Context.java:63)
at com.ardublock.ui.OpenblocksFrame.<init>(OpenblocksFrame.java:71)
at com.ardublock.ui.ArduBlockToolFrame.<init>(ArduBlockToolFrame.java:3)
at com.ardublock.ArduBlockTool.init(ArduBlockTool.java:28)
at processing.app.Editor.addTools(Editor.java:794)
at processing.app.Editor.buildToolsMenu(Editor.java:672)
at processing.app.Editor.buildMenuBar(Editor.java:476)
at processing.app.Editor.<init>(Editor.java:205)
at processing.app.Base.handleOpen(Base.java:705)
at processing.app.Base.handleOpen(Base.java:670)
at processing.app.Base$7.actionPerformed(Base.java:1104)
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)
可以到github上向作者post你的问题。当然我也会尽快的将问题post给作者。 重新安装、更新JRE都没有用。
页:
[1]