【问题标题】:Cygwin JVM error while trying to launch Nutch Win-7尝试启动 Nutch Win-7 时出现 Cygwin JVM 错误
【发布时间】: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 .. 它没有用
  • 嗯,你需要更多的内存......你确定你的标志是正确的,并在正确的地方传递?

标签: cygwin nutch


【解决方案1】:

好吧,我意识到了

Could not reserve enough space for object heap

确实意味着更多的内存需求是一些Windows应用程序拉更多内存的麻烦,所以我减少了内存并解决了问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-09-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-09-06
    • 2013-07-08
    • 2013-07-23
    • 1970-01-01
    相关资源
    最近更新 更多