I read this post: https://groups.google.com/forum/#!topic/vertx/VuKsUzUah88
and I don't know how to access the DEFAULT_JVM_OPTS
in the current vertx version.
I tried following command:
java -jar myapp-1.0.0-snapshot-fat.jar -conf config.json -Xms128m -Xmx400m -XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=48m
and doesn't seem to hava any effect to my apps mem consumption. do you have any advice for me?
thanks in advance
kdeux
你有没有尝试过
java -jar myapp-1.0.0-snapshot-fat.jar -conf config.json -DDEFAULT_JVM_OPTS="-Xms128m -Xmx400m -XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=48m"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.