0
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (malloc) failed to allocate 180992 bytes for Chunk::new
Possible reasons:
  The system is out of physical RAM or swap space
  In 32 bit mode, the process size limit was hit
Possible solutions:
  Reduce memory load on the system
  Increase physical memory or swap space
  Check if swap backing store is full
  Use 64 bit Java on a 64 bit OS
  Decrease Java heap size (-Xmx/-Xms)
  Decrease number of Java threads
  Decrease Java thread stack sizes (-Xss)
  Set larger code cache with -XX:ReservedCodeCacheSize=
This output file may be truncated or incomplete.

Out of Memory Error (allocation.cpp:328), pid=71060, tid=71956

小さな vps (RAM が 1 GB のみ) でゲーム サーバーを実行すると、上記のエラーが発生します。

64ビットJavaを64ビットとしてインストールした原因が何であるかわかりません

私はJava -Xmx768mを使用しています

4

1 に答える 1

0

-Xms 属性も確認してください。

于 2013-03-18T01:22:47.700 に答える