Learn how to add an element to an existing immutable List in Java.
Search Results for: heap
Introduction to Redpanda
Discover Redpanda, a powerful event streaming platform and one of Kafka’s competitors.
Finding the Parent of a Node in a Binary Search Tree with Java
BSTs efficiently solve problems, including finding a node’s parent. Learn approaches to locate a node’s parent, considering edge cases.
Increase the Memory Size Limit on IntelliJ IDEA
A quick and practical guide to increasing memory size limit on Intellij IDEA.
Calculate Weighted Mean in Java
A quick and practical guide to calculating weighted mean in Java.
Shutting Down on OutOfMemoryError in Java
Learn how the OutOfMemoryError often puts an application in an incorrect state.
JFR View Command in Java 21
A quick tutorial on the Java Flight Recorder view command, available in Java 21.
PriorityQueue iterator() Method in Java
Explore Java’s PriorityQueue iterator() method’s functionality and its effective use in various scenarios.
Generational ZGC in Java 21
Learn how the generational garbage collector works.
What Happens When the JVM Runs Out of Memory to Allocate During Runtime?
Explore JVM OutOfMemoryError, which indicates a problem external to our application, like other errors.
Difference Between Xmx and MaxRAM JVM Parameters
Learn how to use the -XX:MaxRAM flag to provide more tuning opportunities for the heap size calculation.
String vs StringBuffer Comparison in Java
Compare String and StringBuffer classes.
Passing JVM Options from Gradle bootRun
Explore different ways to pass JVM options to the bootRun command.
Passing Strings by Reference in Java
Learn how to change a method’s input String while preserving immutability and avoiding side effects.
Deprecate Finalization in Java 18
Learn about the reason behind Java’s decision to deprecate finalization for removal.
Create a GraalVM Docker Image
Learn how to build a Docker image for a GraalVM native executable.
CATALINA_OPTS vs. JAVA_OPTS in Apache Tomcat
A quick and practical comparison between CATALINA_OPTS and JAVA_OPTS in Apache Tomcat.
Value-Based Classes in Java
Explore value-based classes and the notion of value types in Java.
What Is a TLAB or Thread-Local Allocation Buffer in Java?
A quick and practical guide to TLAB in Java.
Find the Middle Element of an Array in Java
Explore several approaches to finding the middle elements of an array in Java.