It seems I have a memory leak problem.
Here is an image showing heap memory usage:
The memory slowly increase util hit hit the maximum allowed. Then the gateway become very slow and unusable.
Someone have some experience with that? Any help to isolate the problem would be very appreciated.