【发布时间】:2014-09-09 16:07:25
【问题描述】:
我正在尝试从 win 启动 apache-nutch,所以使用了 cygwin 但每当我运行命令时
bin/crawl urls -dir crawl -depth 3 -topN 5
它抛出错误-
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
我已经将 bin\nutch 中的 JAVA_HEAP_MAX 更改为更高的值并尝试过,但没有任何效果。
【问题讨论】:
-
我不确定 jvm 在哪里调用,但我猜堆需要更大。试试 4g 或类似的大容量。
-
试过那个解决方案 .. naah .. 它没有用
-
嗯,你需要更多的内存......你确定你的标志是正确的,并在正确的地方传递?