-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi
First of all thanks a lot for bringing us Vertigo. It's a very valuable piece of software.
Our use case makes use of many networks deploying/undeploying them many times. After a while we experienced always OutOfMemory errors. After investigating with VisualVM, we found out that the PermGen was filling out with new classes being loaded and never removed.
After experimenting a bit, we added the following lines after undeploying to clean the shared data left by vertigo :
vertigo.undeployNetwork(DEFAULT_CLUSTER, networkName);
// Clean up Shared Data
getVertx().sharedData().getSet(DEFAULT_CLUSTER).remove(networkName);
getVertx().sharedData().removeMap("default." + DEFAULT_CLUSTER + "." + networkName);
getVertx().sharedData().removeMap("default.deployments." + DEFAULT_CLUSTER + "." + networkName);
getVertx().sharedData().removeMap(DEFAULT_CLUSTER + "." + networkName);After adding those 4 lines, we don't get any OutOfMemory anymore.
Are we doing something wrong (for example forgetting to unregister components or removing components) ?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels