excessive memory usage with live reload and hotswap-agent

Following the instructions here https://vaadin.com/docs/latest/configuration/live-reload/hotswap-agent, I have setup live reload using DVEVM 11 from latest IntelliJ. I wanted to test out the live reload on the provided todo application, so i was making changes to the MainView and issued a recompile for each change.

What I noticed is that memory starts going up dramatically after a couple of reloads, to the point where my whole machine slows to a crawl because there’s no system memory left and i have to kill the process. Has anyone else experienced this?

How many reloads before it crashes typically? Can you see which classes/instances are occupying the unreclaimable memory?

It does not even take all that long, maybe 10 or more ? I’ll try and get a crash dump