© 2026 Hashnode
In Java, there are nine types of Out of Memory errors, each caused by a different issue. When it comes to debugging and solving these errors, we need to tailor our strategy to the particular type of error. In this article, we’ll be concentrating on t...

In this article, we’ll look at the Java error java.lang.outofmemoryerror: PermGen Space Issues. This message is only seen when we’re using Java 7 or earlier. From Java 8 onwards, the Permgen (Permanent Generation) has been replaced by the Metaspace. ...

Are you seeing this JVM error: java.lang.outofmemoryerror: direct buffer memory? It’s becoming more and more common as modern applications move towards using direct buffers to enhance application performance. The Spring framework, for instance, recom...

Out of memory errors in Java are fairly common. Some variations of these, however, are rare. In this article, we’ll take a look at an error message that’s seldom seen: java.lang.OutOfMemoryError: reason stack_trace_with_native_method. This is one of...

Intermittent errors are the most frustrating problems to deal with in production. This is especially so when an application apparently disappears without trace. Perhaps a service becomes unavailable, or a batch process terminates without completing i...
