Getting started with ZGC Garbage collector

This article will discuss the Java ZGC garbage collector and how you can configure and use it to meet your needs in modern Java applications. What is the Java ZGC? The Java ZGC is a scalable low latency garbage collector that is production-ready since Java 15. The ZGC Collector is designed to minimize GC pauses, … Read more

Solving Could not reserve enough space for object heap

Scenario: You are not able to start the Java Virtual Machine. The JVM exits and prints the error message “Could not reserve enough space for object heap” on the Console Facts: Upon start, the JVM prints the following error message: What is the solution? The Max Memory Setting of your JVM (-Xmx) is not compatible … Read more

Getting started with Java 18

Java 18 is finally available for download! In this article we will learn some of the most interesting Enhancement Proposals (JEPs) which are now available in the JDK.

Read more

Tuning Java applications on Linux

This article discusses which are the best strategies to tune a Linux machine where you are running Java applications. We will first cover the best tools you can use for your analysis and then we will pinpoint the single OS aspects.

Read more

How to measure the time spent on methods execution in Java

In this tutorial we will show how to measure the time spent on the execution of a Java method by using Byteman tool. There are several tools or product which can trace the execution of Java methods and calculate how much time you are spending in the single methods of your application. This is a … Read more

Simple strategies to test your Java applications with LDAP

LDAP is commonly used in Security realms as a source of authentication and authorization information. This tutorial will teach you two simple strategies for starting an LDAP Server in minutes in order to secure your Enterprise applications. Option 1: Use an Embedded LDAP Server The first example is using an embedded ApacheDS LDAP server with … Read more