我正在尝试在android上使用weka。我需要增加堆空间以使用它。我尝试了-XMX和-XMS的各种组合,但它无法启动JVM。 目前我已经设置了,但它不起作用

- launcher.xxmaxpermsize 1024m -vmargs. -XMS256M. -xmx1024m

目前我有一个64位拱机,但是32位win 7安装了它。4GB内存。 请建议

有帮助吗?

解决方案

This is a known issue with memory space fragmentation caused by Windows dll loading. Only two workarounds if Eclipse fails to start with higher memory settings.

  1. Install 64-bit Windows and use 64-bit JVM with 64-bit Eclipse. It doesn't matter that you only have 4gb of memory. Having 64-bit virtual memory space prevents you from running into fragmentation issues.

  2. Force eclipse to start with java.exe or javaw.exe instead of the default jvm.dll startup. To do this, edit eclipse.ini and add -vm followed with a full path to javaw.exe on the next line.

其他提示

I had the same error. What i did was, open Eclipse as Admin and it worked properly.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top