سؤال

when I run

sh catalina.sh run

it gives error:

Invalid maximum heap size: -Xmx6144M The specified size exceeds the maximum representable size. Could not create the Java virtual machine.

help..

هل كانت مفيدة؟

المحلول

You're running a 32bit JVM and are exceeding 4096M

Or .. there's supposedly a case where the JVM can decide you'd never need that large of heap, but I've never run into it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top