09-10-2025 04:01 AM
Dear communitiy members.
I have a big problem since i upgraded form LV2025Q1 to LV2025Q3 but i am not 100% sure of just this upgrade caused my new poblems.
I also did some really minor changes to my code.
The build application typically runs about 5 hours without any problems or memory leaks. I tried a lot of things in the last few days to solve the problem without your help 😉
After this time the Application disappears.
Windows event viewer always shows the same entries corresponding to this crashes.
First is a .NET null pointer or similar error shown like this.
09-11-2025 10:35 AM
I had a similar problem with a program. In that case it was too many open/close references, it turned out to be a limit of 1 million times in Windows (or it never reclaimed the memory). I restructured it to keep the references open and reuse them instead.
09-11-2025 10:44 AM
Thank you Yamaeda
I checked with DETT if there is a memory leak. I even found a problem of not closed queue references and solved it.
But I am still skeptic.
I typically use named queues, obtain it in my "main" loop and use it there. Many parallel loops are also using this. In this case they obtain the queue by name then read, preview, or write and finally close it so the main loop is still the "master owner".
Can you imagine that it would be better to store the queue reference in a functional global instead of obtaining the named queue.
I do not see any differences if i close the queues correctly.
The fundamental question is if the .NET errors origin really comes from .NET framework, because in the project where I build the application there is no .NET assembly in memory, so my code does not use any .NET calls.
Thank you for now