Category: Java

java logo 0

How to deal with the Java OutOfMemoryError or a Memory Leak

Last days I was working in analyzing some reported OutOfMemoryError in a JVM application, that’s why I decided to share some information about how to deal with it. The first thing many people have in mind when they see an OutOfMemoryError is that we might have in front of a Memory Leak, a quick answer to that is that maybe yes but maybe not. So, let’s try to determine the...

java logo 3

Creating a Socket Client Pool in Java

Some time ago I needed to create a pool of Socket connections for a customer. First thing I tried to do was to google it and find a library that already provided what I needed. Unfortunately I wasn´t able to find one that fits with my needs. Therefore I had to create an artifact that resolved that issue at the moment. What do I need to create a Socket Pool...