Java memory leaks caused by MySQL connection instances (feat. QueryDSL)
I have memory leaks issue on my server. The server is running under SpringBoot 2.7.2 & JDK-11 spec. I’ve looked into the heap memory usage by taking heap dump and it seems like nearly 9,000 instances of db connection created in the memory.