About 21,500,000 results
Open links in new tab
  1. java - How can I increase the JVM memory? - Stack Overflow

    Feb 19, 2010 · To get the size of the JVM during Runtime you can use Runtime.totalMemory() which returns the total amount of memory in the Java virtual machine, measured in bytes. …

  2. jvm - how to increase java heap memory permanently ... - Stack Overflow

    Aug 10, 2021 · if you need to increase reserved memory, there are VM parameters -Xms and -Xmx, usage e.g. -Xms512m -Xmx512m . There is also parameter -XX:MaxPermSize=256m …

  3. How to Increase Heap Size in Java Virtual Machine?

    Jan 13, 2023 · So a common solution to it Now in order to change/increase the JVM heap size is made possible by using command-line options. -Xmx : To set maximum java heap size. -Xss : …

  4. Increase heap size in Java - Stack Overflow

    Oct 14, 2009 · It is possible to increase heap size allocated by the JVM by using these command line options: In the following example, minimum heap size is set to 16mb, and the maximum to …

  5. How to Increase Memory Allocation in Java: A Complete Guide

    Adjusting JVM Memory Settings. You can adjust JVM memory allocation by using the -Xms and -Xmx options: - -Xms: Sets the initial heap size. - -Xmx: Sets the maximum heap size. These …

  6. How to Increase JVM Memory for Your Java Application?

    Increasing the Java Virtual Machine (JVM) memory is essential for performance tuning, particularly for applications that handle large amounts of data. This guide explains how to …

  7. Java Increase Memory | Java Tutorial Network

    Mar 12, 2015 · You can configure the memory usage of your java program by setting initial and maximum heap size like this: -Xms. -Xmx. for example: will set the initial heap size to 500 MB …

  8. How to Increase Virtual Memory in Java - Delft Stack

    Mar 11, 2025 · This tutorial demonstrates how to increase virtual memory in Java, ensuring that your applications run smoothly even under heavy loads. Learn effective methods such as …

  9. Check and Increase JVM heap size on windows and Linux machine

    Aug 14, 2020 · These issues may occur because of insufficient heap space on your JVM and to fix these issues, you should increase the heap size. To increase the heap size, you can set …

  10. JVM Memory Management: A Practical Guide from Fundamentals …

    Jan 27, 2025 · Java Virtual Machine (JVM) memory management is pivotal to Java’s “write once, run anywhere” philosophy. By abstracting away low-level allocation and garbage collection …

  11. Some results have been removed
Refresh