About 289,000 results
Open links in new tab
  1. Can a Java Application Use More Memory Than the Heap Size?

    Jan 8, 2024 · In this article, we’ve explored the different memory areas of a Java process and a few tools to monitor memory usage. We’ve seen that Java memory usage is not just limited to the heap, so then we used jcmd to inspect and track the memory usage of the JVM.

  2. Memory settings for Java process running in Kubernetes pod

    Aug 25, 2023 · Managing the memory usage of a Java process running in a Kubernetes pod is more challenging than one might expect. Even with proper JVM memory configurations, OOMKilled issues can still...

  3. Java Memory Management - GeeksforGeeks

    Jan 2, 2025 · Java memory management is a fundamental concept that involves the automatic allocation and deallocation of objects, managed by the Java Virtual Machine (JVM). The JVM uses a garbage collector to automatically remove unused objects, freeing up memory in …

  4. linux - What consumes memory in java process? - Server Fault

    Java handles memory quite differently from what you might expect. When you set the -Xms and -Xmx paramters, you are telling the JVM how much memory it should allocate in the heap to start with and also how much it should allocate as a maximum.

  5. How do I check CPU and Memory Usage in Java? - Stack Overflow

    The actual process may consume more memory. java.nio.ByteBuffer.allocateDirect() is a function/library, that is easily missed, and indeed allocated native memory, that is not part of the Java memory management.

  6. How the JVM uses and allocates memory | Red Hat Developer

    Sep 9, 2021 · Explore the JVM options used to control how the JVM uses memory in your Java applications, including monitoring for memory leaks and out-of-memory errors.

  7. Troubleshooting High CPU and Memory Leaks in Java Processes

    Apr 22, 2021 · Java applications may utilize high CPU resources for several reasons; some reasons are listed below: Poorly designed application code with inefficient loops, for example, recursive method calls...

  8. Demystifying Memory Management in Modern Java Versions

    Jan 2, 2024 · Memory management is the backbone of Java programming, determining how efficiently your applications use system resources. In this comprehensive guide, we will explore the intricacies of memory management in modern Java versions, including Java 8, …

  9. Best practices for JVM memory issues - IBM

    By default, for the first four OutOfMemory conditions during a JVM lifetime, a Javacore and Heapdump is generated. The default settings generate these files in the <profile>/logs directory. The Javacore contains general details about the JVM …

  10. Java Memory Management Explained: How the JVM Handles Memory

    Mar 11, 2025 · In this article, we’ll break down the JVM’s memory model, explore garbage collection, and discuss best practices to optimize memory usage. The Java Virtual Machine (JVM) divides memory into...

  11. Some results have been removed