[英]Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine
[英]Puppet: Could not reserve enough space for object heap. Could not create the Java virtual machine
當我嘗試在masternode上運行清單時,我的puppetmaster出現以下兩個錯誤:
change from absent to latest failed: Execution of '/usr/bin/keytool -importcert
-noprompt -alias puppetca -file /etc/puppetlabs/puppet/ssl/certs/ca.pem
-keystore /etc/puppetlabs/activemq/broker.ts -trustcacerts' returned 1:
Error occurred during initialization of VM Could not reserve enough space for
object heap Could not create the Java virtual machine.
和...
change from absent to latest failed: Execution of '/usr/bin/keytool
-importkeystore -srcstoretype PKCS12 -destkeystore
/etc/puppetlabs/activemq/broker.ks -srckeystore
/tmp/domain.com.20130221-957-17scina-0 -alias domain.com' returned 1:
Error occurred during initialization of VM Could not reserve enough space
for object heap Could not create the Java virtual machine.
(我已將域更改為domain.com)
我試圖設置activemq_heap_mb參數,但這無濟於事。
我感謝任何建議:)
謝謝
您可以嘗試將-Xmx128m添加到keytool命令中。
如果仍然出現錯誤,請嘗試-Xmx256m或-Xmx512m
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.