6185浏览
查看: 6185|回复: 3

[Ardublock] 安装Ardublock后系统无法打开示例代码程序

[复制链接]
Ardublock后系统无法打开示例代码程序,系统IDE下发提示JAVA系统内存溢出,大家是怎么处理的?

smallfivecn  中级技师
 楼主|

发表于 2014-7-5 21:49:45

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)
回复

使用道具 举报

Rockets  NPC

发表于 2014-7-5 22:17:00

可以到github上向作者post你的问题。当然我也会尽快的将问题post给作者。
回复

使用道具 举报

smallfivecn  中级技师
 楼主|

发表于 2014-7-14 11:19:56

重新安装、更新JRE都没有用。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2022 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail