Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Detach Table necessary for allowing the garbage collector to clean up?

Deleted User
1 decade ago Jun 12, 2012 3:42pm
Johannes Häyry
1 decade ago Jun 13, 2012 7:06am
Bobby Bissett
1 decade ago Jun 20, 2012 7:29pm

Just wanted to point out that increasing memory doesn't necessarily mean there's a leak. It may be that the server just waits to do a garbage collection until it's needed. I was doing some memory leak testing with GlassFish and class loaders a couple months ago and I'd see the memory usage keep creeping up and up. After 15 minutes or so (I can't remember the details now) I'd see it drop back to the baseline. Then it would repeat.

So while you may actually have a memory leak, you should do a longevity test to make sure there's really a problem.

Good luck,

Last updated on Jun, 20th 2012