Hello,I have a customer who is upgrading their application to use the latest release and .NET 8, developing in Visual Studio 2022. They plan to run the application on Windows Server 2025. After some runtime, they began experiencing memory growth that appeared to be a memory "leak," along with some
exceptions upon launching the application.To investigate further, the customer created a simplified test application and was able to replicate the behavior on both Windows Server 2025 and 2019. At that point, they reached out to us and provided the test application for internal testing.I ran the application on multiple environments (Windows 10, 11, and Server 2022), changing only the OPC UA server endpoint, channel, and tags to match our test setup. The OPC UA server in both our and the customer's environments is TOP Server. In all my tests—using both local and remote endpoints—I was unable to reproduce the memory growth or see any exceptions.Given that I haven’t been able to replicate the behavior, I wanted to reach out and see if you had any additional insight into what the customer may be experiencing.I've attached the test project exactly as provided by the customer:
The customer did mention that moving the creation of the
object outside the
event (so it's not recreated with each tick) resolved the memory growth issue. However, they’re still unsure why this issue didn’t occur in their previous application, which was developed with version 2021.1.Your attention and insight would be greatly appreciated. Please let me know if you have any questions or need any additional information.Best regards