Java service application in the container

Hello. Please, help. I installed the latest version of docker from the site. My windows is version 22H2 and build 19045.2604. I also installed java app as a container with jib plugin. Java version 17. JProfiler shows me that the memory and cpu usage is ok. I can`t see any problem with java service. But the container is constantly increasing the MEMORY USAGE parameter at work. A few days later, it crashes with error 137. How to diagnose the environment in a container. What i can to do for diagnostic this problem?