I have a problem that I can find in the profiler, but I don’t know how to fix it. After downloading the application, I get this sawtooth wave pattern, the program is idle, but consumes memory, as you can see here.

When I checked the memory allocation in the sampler, I saw that the RMI TCP connection with my eth0 (172.16.20.51) consumes memory at half a megabyte per second (413,213), which leads to the fact that the GC "stop the world" log is written into production: (
I could not track down the cause of this problem, because I don’t know which port is which thread, on the other hand, I tried to start my bank using -com.sun.management.jmxremote.authenticate = false -Dcom.sun.management. jmxremote.ssl = false flags, but this did not help. Any idea would be appreciated.
java garbage-collection memory-leaks out-of-memory rmi
moshe beeri
source share