Hello to All. I have this issue with Capella 5.2 where it is very responsive when I start it up and gradually slows down as I work on my model. At a point (after 3 to 4 hours), any action, like moving the location of a port on a diagram, can take between 30% to 100% of the computer CPU and up to 15 seconds per action. If I close Capella and restart it, it becomes fluid again. I have this same behavior with the same model on different computers. Has anyone faced the same situation? If so, is there a known solution for this condition? I searched the forum before posting this message, but couldn’t find anything that seems to address this. Thanks in advance for your help.
I have Windows 10 on one computer and 11 on another. Yes add-ons were installed. The ones I remember are:
Atica4Capella
Capella Requirements
Filtering
Mass
VPMS
Perfo
Price
System to subsystem transition
XHTML
PVMT
M2Doc
Schematic
So I suspect one of them is responsible for your problem, ie creating a memory or handle leak and eventually slowing down your env. I would:
build a Capella bundle from scratch installing only the add-on you need (probably staying with Capella 5.2 to keep it not too complex in term of migration)
detach from your model existing add-ons that may have been attached/used so that your model can be opened in your new bundle
I would consider the PVMT and the Filtering add-on as suspects (but not sure).
The other way to narrow down the problem would be for us to access your environment and analyze it with a dedicated tool for finding these kind of issues, but this would involve some costs.
@StephaneLacrampe As a new Java/Eclipse developer, I’m really interested to know in what cases a memory leak can occur, as Java has a garbage collector. There is the swt dispose() function, but I thought Eclipse would dispose the shell/window anyway when it closed.
Well, I am not an expert, but generally issues can indeed arise when Eclipse integrate external libraries - the SWT one is an example, if someone forgets to dispose a widget, then start the leaks… And there are other external components that eclipse/Capella uses that can embed their own leaks…