What is the command to check allocate heap memory? and how can I increase memory allocated to java.
My Environment conf are this:
I have already tried these
java -XX:+PrintFlagsFinal -version | grep HeapSize
java -XX:+PrintFlagsFinal -version | grep HeapSize
java -Xmx8000m -XshowSettings:all
You can analyze the contents of the heap and its total size by using the appropriate tool in Intellij.
If you want to increase it, there are some caveats, but overall its explained in this thread . You are using the right command, overall.
What exactly do you want to achieve ? How will you measure success ?
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.