I'm debugging an old Hybris application. I can build it and I can serve it without any problems. I've always seen problems when I try to serve it in debug mode. I was able to serve it in debug mode basically all day yesterday. Today it stopped working again. I suspect it has something to do with Java or JVM (since I've been playing with SDK MAN, so I've been switching between 2 JDK 8 versions).
Now I'm using the Zulu 1.8 392 and I'm about to switch back to Oracle. Just want to do a fresh boot of the Mac (Macbook Pro M3 pro with 36GB).
Tanuki Wrapper is at v 3.5.29 (I found out that there was a memory leak before 3.5.28)
Keep posted here if it solves.
But what I'm looking for is basically understand if maybe some log file becomes too large (and then causes the failure) or basically if restarting the JVM could be enough.
For now I'm quite sure it's not the tomcat options, since it's configured with
-Xmx10G -Xms5G
(and again because it worked long enough).
EDIT
Still no joy with reboot and switching to Oracle.
RE-EDIT
Tried this, but not doing anything
wrapper.filter.trigger.1=java.lang.OutOfMemoryError
wrapper.filter.action.1=RESTART