I am trying to track down a memory leak in a XOJO (2020r2.1) desktop app that causes it to crash after running for several days.
I found some help from Finding memory leak - #4 by Kem_Tekinay and tried implementing a report along the lines suggested by Kem Tekinay of counting ObjectTypes using Interospection.
What I observe is a lot of Objects of type Locale and Xojo.Core.Locale every time I run the report.
I have no idea where these objects are being created. If I search my project in the IDE dont find any words ‘Locale’.
I do use some 3d party Monkeybread plugin for notifications and RubberViews plugins for resizing so I dont know what is inside of those.
InitialObject count is saved value when I first opened the report window
Current is the count as I hit the RunReport button
LastCount was when I previously hit the button
RecentGrowth is Current-Last
TotalGrowth is The Current-Intital.
As you can see, there is essentially no growth in object counts except for the two “Locale” item types.
Any help in how to track this down is greatly appreciated.