Until the 7th month, the -Xmx parameter limited the size of the heap, but today at 8 it is not happening.
Today I use the -Xmx200m parameter and my application gets to consume 1.5GB in the heap, I use a lot of short object so practically they stay in eden.
I tried several parameters but none successfully. The question is that my server is dropping some applications out of memory and I would like to limit the heap size of them.