I have a program that I run in the background that freezes after running for a day or two.
I have not been able to track down the cause of the freeze and am wondering if there is a
memory leak. My knowledge of 'Instruments' is less than rudimentary but I believe both it
and Activity Monitor show increasing memory use.
Here is a simple example.
Set up a window with a Listbox and Timer and set the Timer to Run Mode - Multiple every 2 seconds.
Place the following code in the Timer Run event:
Listbox1.RemoveAllRows For i As Integer = 0 To 10 Listbox1.AddRow Str(i) Next
Run the program. Memory use seems to continually increase but I am not sure I'm on the right track.
Can anyone confirm whether this is normal or shows a leak before I submit a feedback report?
Thanks for any help.
MacOS 10.15.3 Xojo 2019 r3.1