Eclipse 报 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”错误的解决办法
1、打开Eclipse软件,选择菜单栏run,在二级菜单中选择DebugConfigurations...项2、在弹出的窗口中选择(x)=Arguments选项卡,VMarguments输入框中输入所需要的内存最大占用量,eclipse有启动参数里设置jvm大小,因为eclipse运行时自己也需要jvm,所以eclipse.ini里设置的jvm大小不是具体某个程序运行时所用jvm的大小,这和具体程