Moderators:TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
I'm switching between different settings files (*.xces). I do have the problem only with the latest version. The previous version 6.0.322.7 doesn't have this issue running the same code when importing *.xcs files.
If you can, please make a small sample that switches between two of yours settings file in a cycle or something that will illustrate a leak. Then I can give this project to the appropriate developer for investigation.
I created a sample project using the lastest PDF Editor SDK:
COM name: PDFXEdit.PXV_Inst
API version: 1.9.0.0 (0x01090000)
Full path: "C:\Program Files (x86)\Tracker Software\Editor SDK\Bin\PDFXEditCore.x86.dll"
File version: 7.0.323.2
The development computer has Windwos 10 installed with the latest Microsoft updates.
I also included a short video showing you how the memory increases after each switch. I want to point out that the memory increases also when there are no switches commited.
I hope this helps finding the issue.
18-01-11_Sampleproject.zip
// Martin
You do not have the required permissions to view the files attached to this post.
Thanks for the sample project - we've found the trouble in our code (the newly introduced Places View registered 2 events each time thus the event handlers array grew with 2^n speed). We will fix this bug and the fix itself will be available from the next build.
As for your project, I've found an optimization for you - the settings are being loaded 2 times in 1 RB change - you should check whether the RB is selected or not - not just changed.