What's new

V26 Memory Leaks

JAPaul

New Member
V26 seems to have more memory leaks than previous versions. Every time a new workspace is opened and then closed, the used memory in Alibre grows with each closed workspace. It is easy for it to grow to multiple GB when working on complex models. Anyone else experiencing this?
 

bolsover

Senior Member
Yes. There do appear to be some memory leaks. I checked by running a performance profiler (visual studio 2022), opening and closing the same .ad_prt file several times. Each time the file is opened, the total process memory allocation increases rapidly (as expected) and then drops to a steady state. When the file is closed, the memory allocation decreases but never falls back to the previous level.
The graph below represents a period of about 11 minutes and shows the process memory after starting Alibre together with three open/close actions on the same ad_prt file.
Screenshot 2023-01-05 163321.png

I suggest you report to support. But don't hold your breath waiting for some magic solution. Memory leaks like this are notoriously difficult to resolve especially when there is no single culprit and some look to coming from third party libraries.

David
 

WillB

Member
Are you using Win7?
I just upgraded to 10 and I'd say its' a lot better as far as memory leakage
 

JAPaul

New Member
I run primarily on Win10, but also have one machine running Win7.
Both have problems, but Win7 is worse when it comes to memory leaks.
 

simonb65

Alibre Super User
V26 seems to have more memory leaks than previous versions. Every time a new workspace is opened and then closed, the used memory in Alibre grows with each closed workspace. It is easy for it to grow to multiple GB when working on complex models. Anyone else experiencing this?
Not been using v26 enough recently to do any real feedback, but I did see this and document this behaviour in v25 ...

https://www.alibre.com/forum/index....ormance-are-visibly-not-as-good-as-v24.23552/
 

HaroldL

Alibre Super User
I haven't paid much attention to memory leaks but checking just now this is what I have after starting the Home Window:
1673133107083.png

After opening a large assembly:
1673133152557.png

After closing the assembly:
1673133208869.png

Opening the assembly again:
1673133272273.png

And closing the assembly again:
1673133315395.png


I had it over 3,000 MB on one test session after opening and closing several more times.
 

Ken226

Alibre Super User
Interesting.

To test this, I opened my task manager which showed 19% memory usage.

I then opened a 70mb assembly, and the memory useage jumped to 23%. When I closed the assembly the memory immediately dropped back to 19%.

I tried it multiple times, with the same result.

I'm using Windows 11 Home, build 22621.963
 
Last edited:
Top