Learn the differences between heap dump, thread dump, and core dump and understand their use cases.
Search Results for: heap
Can a Java Application Use More Memory Than the Heap Size?
Learn how to restrict the total memory usage in Java.
How to Implement Min-Max Heap in Java
Learn how to implement a min-max heap in Java and explore some of the most common operations.
Where Does Java’s String Constant Pool Live, the Heap or the Stack?
Learn about the storage area for String constant pool.
How To Configure Java Heap Size Inside a Docker Container
To run Java in a docker container we may need to set the correct memory allocation settings, or use a JVM which is aware that it is running in a container. We discover how to optimise a docker build for our Java application’s memory.
Configure the Heap Size When Starting a Spring Boot Application
Learn how to override the Java heap settings for three common ways of running Spring Boot applications.
Difference in Used, Committed, and Max Heap Memory
Learn how adaptive sizing works and evaluate the difference between max, used, and committed sizes
Command-Line Tools to Find the Java Heap Size
Learn how to use command line tools to find the heap size of a running Java application.
Java Heap Space Memory with the Runtime API
Learn how to access memory information of a JVM using the Java Runtime API.
Could Not Reserve Enough Space for Object Heap
Learn the possible causes for the “Could Not Reserve Enough Space For Object Heap” error and how to solve it.
Median of Stream of Integers using Heap in Java
Learn how to calculate the median of a stream of Integers using Heap
Heap Sort in Java
Learn how to implement a Binary Heap and Heap Sort in Java.
Different Ways to Capture Java Heap Dumps
Learn multiple ways to capture a heap dump in Java
Increase Heap Memory for WildFly
Learn how to modify the heap size for WildFly.
Stack Memory and Heap Space in Java
Explore how Stack Memory and Heap Space works and when to use them for developing better Java programs.
Introduction to Java 22
Explore the latest Java release, Java 22, which is now in General Availability.
assertEquals() vs. assertSame() in JUnit
Compare the assertEquals() and assertSame() methods.
Java Weekly, Issue 536
News on Java evolving through JEPs and an exploration of the Azure Spring Apps platform from Microsoft (and VMware). A solid week.
Add One Element to an Immutable List in Java
Learn how to add an element to an existing immutable List in Java.
Introduction to Redpanda
Discover Redpanda, a powerful event streaming platform and one of Kafka’s competitors.