Looks like 1.0 r 29 still has a significant memory leak (on the remote)

Hi folks - been running 1.0 r 29 for about an hour - then the remote crashed. Looks like there is still a memory leak - this time on the remote:

06/19 21:59:09 Info: [stats] 3573mb Virtual, 1924mb Physical, 816mb Managed, 47 Threads, 285 FDs (224 REG, 35 IPv4, 9 DIR, 7 KQUEUE, 4 CHR, 3 PIPE, 2 unix, 1 systm)
06/19 21:59:11 Debug: UI-FWD: mode: albumdetails
06/19 21:59:11 Debug: UI-NAV: album details / album: [object Sooloos_Broker_Api_AlbumLite_Proxy] / bookmarkdata:
06/19 21:59:11 Error: main(552) can’t remove nodes of main(552) > stackpanel(1593) child.nodes.SelfIsOurs=False, child.Nodes.Self is null, child.Nodes.Self.Parent is null
06/19 21:59:24 Info: [stats] 3649mb Virtual, 1997mb Physical, 984mb Managed, 50 Threads, 285 FDs (224 REG, 35 IPv4, 9 DIR, 7 KQUEUE, 4 CHR, 3 PIPE, 2 unix, 1 systm)
06/19 21:59:24 Debug: UI-BACK: mode: artistdetails
06/19 21:59:24 Error: main(552) can’t remove nodes of main(552) > stackpanel(3465) child.nodes.SelfIsOurs=False, child.Nodes.Self is null, child.Nodes.Self.Parent is null
06/19 21:59:32 Debug: UI-FWD: mode: artistalbums
06/19 21:59:32 Error: main(552) can’t remove nodes of main(552) > stackpanel(1593) child.nodes.SelfIsOurs=False, child.Nodes.Self is null, child.Nodes.Self.Parent is null
06/19 21:59:39 Info: [stats] 3581mb Virtual, 1934mb Physical, 872mb Managed, 46 Threads, 281 FDs (224 REG, 31 IPv4, 9 DIR, 7 KQUEUE, 4 CHR, 3 PIPE, 2 unix, 1 systm)
06/19 21:59:40 Debug: UI-FWD: mode: albumdetails
06/19 21:59:40 Debug: UI-NAV: album details / album: [object Sooloos_Broker_Api_AlbumLite_Proxy] / bookmarkdata:
06/19 21:59:40 Error: main(552) can’t remove nodes of main(552) > vpanel(226975) child.nodes.SelfIsOurs=False, child.Nodes.Self is null, child.Nodes.Self.Parent is null
06/19 21:59:54 Info: [stats] 3630mb Virtual, 1979mb Physical, 975mb Managed, 49 Threads, 281 FDs (224 REG, 31 IPv4, 9 DIR, 7 KQUEUE, 4 CHR, 3 PIPE, 2 unix, 1 systm)
06/19 22:00:07 Debug: UI-BACK: mode: artistalbums
06/19 22:00:07 Error: main(552) can’t remove nodes of main(552) > stackpanel(3465) child.nodes.SelfIsOurs=False, child.Nodes.Self is null, child.Nodes.Self.Parent is null
06/19 22:00:09 Info: [stats] 3582mb Virtual, 1934mb Physical, 831mb Managed, 47 Threads, 281 FDs (224 REG, 31 IPv4, 9 DIR, 7 KQUEUE, 4 CHR, 3 PIPE, 2 unix, 1 systm)
06/19 22:00:24 Info: [stats] 3586mb Virtual, 1936mb Physical, 841mb Managed, 49 Threads, 281 FDs (224 REG, 31 IPv4, 9 DIR, 7 KQUEUE, 4 CHR, 3 PIPE, 2 unix, 1 systm)
06/19 22:00:24 Debug: UI-FWD: mode: albumdetails
06/19 22:00:24 Debug: UI-NAV: album details / album: [object Sooloos_Broker_Api_AlbumLite_Proxy] / bookmarkdata:
06/19 22:00:24 Error: main(552) can’t remove nodes of main(552) > vpanel(226975) child.nodes.SelfIsOurs=False, child.Nodes.Self is null, child.Nodes.Self.Parent is null
06/19 22:00:30 Debug: UI-BACK: mode: artistalbums
06/19 22:00:30 Error: main(552) can’t remove nodes of main(552) > stackpanel(3465) child.nodes.SelfIsOurs=False, child.Nodes.Self is null, child.Nodes.Self.Parent is null
06/19 22:00:39 Info: [stats] 3672mb Virtual, 2023mb Physical, 1011mb Managed, 47 Threads, 281 FDs (224 REG, 31 IPv4, 9 DIR, 7 KQUEUE, 4 CHR, 3 PIPE, 2 unix, 1 systm)
06/19 22:00:44 Debug: UI-FWD: mode: albumdetails
06/19 22:00:44 Debug: UI-NAV: album details / album: [object Sooloos_Broker_Api_AlbumLite_Proxy] / bookmarkdata:
06/19 22:00:44 Error: main(552) can’t remove nodes of main(552) > vpanel(226975) child.nodes.SelfIsOurs=False, child.Nodes.Self is null, child.Nodes.Self.Parent is null
06/19 22:00:44 Info:
Local Time: 06/19/2015 22:00:44 +01:00
Device Serial Number: AEE228BA-5E9E-4FE6-975A-9DB97615A6F4
User Id: b85a8a5a-c2ae-4fd6-bfdd-b72af98b04a3
Sooloos Version: 1.0 (build 29) stable
OS Version: Mac OS X 10.10.3
Hardware Version: MacBookPro11,3
Mono Version: 4.0.0 ((detached/d136b79 Mon Apr 13 14:40:59 EDT 2015)

Application Domain: Roon.exe
Assembly Codebase: file:///Applications/Roon.app/Contents/Resources/Roon.exe
Assembly Full Name: Roon, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

CPU0 Description: Intel® Core™ i7-4980HQ CPU @ 2.80GHz (64-bit)
CPU0 Num Cores: Physical: 4 Logical: 8

SCREEN0 Device Id: 69732482 (primary)
SCREEN0 Bounds: {X=0,Y=0,Width=1920,Height=1200}

–[ INNER EXCEPTION ]------------------------------------------------
Inner Exception Source: Broo.Runtime
Inner Exception Type: System.OutOfMemoryException
Inner Exception Target Site: CheapSet`1.Add
Inner Exception Message: Out of memory
Inner Exception Data: none

–[ Inner Stack Trace ]------------
Broo.Runtime.CheapSet`1.Add(Equation item)
Broo.Runtime.dll, IL 0, N 327
Broo.Runtime.NotificationContainer.Subscribe(Equation eq)
Broo.Runtime.dll, IL 0, N 43
Broo.Runtime.NotificationDispatcher.Subscribe(Object o, Equation eq)
Broo.Runtime.dll, IL 0, N 435
Broo.Runtime.Equation._Subscribe(Dependency dep)
Broo.Runtime.dll, IL 0, N 183
Broo.Runtime.Equation.GetValue()
Broo.Runtime.dll, IL 0, N 851
Broo.Runtime.Equation.GetBooleanValue()
Broo.Runtime.dll, IL 0, N 19
Broo.Engine.VisibilityBrooProperty.IfDirtyDoClean()
BrooEngine.dll, IL 0, N 98
Broo.Engine.Widget._PreUpdate()
BrooEngine.dll, IL 0, N 63

–[ OUTER EXCEPTION ]------------------------------------------------
Outer Exception Source: BrooEngine
Outer Exception Type: System.Exception
Outer Exception Target Site: Widget._PreUpdate
Outer Exception Message: Exception preupdating widget smallgrid(137621) > vpanel(137806) > stackpanel(137807) > image(137809)
Outer Exception Data: none

–[ Outer Stack Trace ]------------
Broo.Engine.Widget._PreUpdate()
BrooEngine.dll, IL 0, N 263
Broo.Engine.Widget.Update()
BrooEngine.dll, IL 0, N 23
Broo.Engine.Engine.Update()
BrooEngine.dll, IL 0, N 339
Broo.Engine.DeviceTarget.GuiMainLoop()
BrooEngine.dll, IL 0, N 1027
Broo.Engine.Engine.GuiMainLoop()
BrooEngine.dll, IL 0, N 23
Sooloos.Application.Main(String[] args)
Roon.exe, IL 0, N 6791

06/19 22:00:44 Error:
Local Time: 06/19/2015 22:00:44 +01:00
Device Serial Number: AEE228BA-5E9E-4FE6-975A-9DB97615A6F4
User Id: b85a8a5a-c2ae-4fd6-bfdd-b72af98b04a3
Sooloos Version: 1.0 (build 29) stable
OS Version: Mac OS X 10.10.3
Hardware Version: MacBookPro11,3
Mono Version: 4.0.0 ((detached/d136b79 Mon Apr 13 14:40:59 EDT 2015)

Application Domain: Roon.exe
Assembly Codebase: file:///Applications/Roon.app/Contents/Resources/Roon.exe
Assembly Full Name: Roon, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

CPU0 Description: Intel® Core™ i7-4980HQ CPU @ 2.80GHz (64-bit)
CPU0 Num Cores: Physical: 4 Logical: 8

SCREEN0 Device Id: 69732482 (primary)
SCREEN0 Bounds: {X=0,Y=0,Width=1920,Height=1200}

–[ INNER EXCEPTION ]------------------------------------------------
Inner Exception Source: Broo.Runtime
Inner Exception Type: System.OutOfMemoryException
Inner Exception Target Site: CheapSet`1.Add
Inner Exception Message: Out of memory
Inner Exception Data: none

–[ Inner Stack Trace ]------------
Broo.Runtime.CheapSet`1.Add(Equation item)
Broo.Runtime.dll, IL 0, N 327
Broo.Runtime.NotificationContainer.Subscribe(Equation eq)
Broo.Runtime.dll, IL 0, N 43
Broo.Runtime.NotificationDispatcher.Subscribe(Object o, Equation eq)
Broo.Runtime.dll, IL 0, N 435
Broo.Runtime.Equation._Subscribe(Dependency dep)
Broo.Runtime.dll, IL 0, N 183
Broo.Runtime.Equation.GetValue()
Broo.Runtime.dll, IL 0, N 851
Broo.Runtime.Equation.GetBooleanValue()
Broo.Runtime.dll, IL 0, N 19
Broo.Engine.VisibilityBrooProperty.IfDirtyDoClean()
BrooEngine.dll, IL 0, N 98
Broo.Engine.Widget._PreUpdate()
BrooEngine.dll, IL 0, N 63

–[ OUTER EXCEPTION ]------------------------------------------------
Outer Exception Source: BrooEngine
Outer Exception Type: System.Exception
Outer Exception Target Site: Widget._PreUpdate
Outer Exception Message: Exception preupdating widget smallgrid(137621) > vpanel(137806) > stackpanel(137807) > image(137809)
Outer Exception Data: none

–[ Outer Stack Trace ]------------
Broo.Engine.Widget._PreUpdate()
BrooEngine.dll, IL 0, N 263
Broo.Engine.Widget.Update()
BrooEngine.dll, IL 0, N 23
Broo.Engine.Engine.Update()
BrooEngine.dll, IL 0, N 339
Broo.Engine.DeviceTarget.GuiMainLoop()
BrooEngine.dll, IL 0, N 1027
Broo.Engine.Engine.GuiMainLoop()
BrooEngine.dll, IL 0, N 23
Sooloos.Application.Main(String[] args)
Roon.exe, IL 0, N 6791

06/19 22:00:44 Error:
Failed to write managed crash to disk: System.OutOfMemoryException: Out of memory
at (wrapper managed-to-native) object:__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr)
at (wrapper alloc) object:AllocVector (intptr,intptr)
at Broo.Runtime.CheapSet`1[Broo.Runtime.Equation].Add (Broo.Runtime.Equation item) [0x00000] in :0
at Broo.Runtime.NotificationContainer.Subscribe (Broo.Runtime.Equation eq) [0x00000] in :0
at Broo.Runtime.NotificationDispatcher.Subscribe (System.Object o, Broo.Runtime.Equation eq) [0x00000] in :0
at Broo.Runtime.Equation._Subscribe (Dependency dep) [0x00000] in :0
at Broo.Runtime.Equation.GetValue () [0x00000] in :0
at Broo.Runtime.Equation.GetBooleanValue () [0x00000] in :0
at Broo.Engine.VisibilityBrooProperty.IfDirtyDoClean () [0x00000] in :0
at Broo.Engine.Widget._PreUpdate () [0x00000] in :0

The memory leak I fixed for this week’s build was server-only.

I think @danny is working on some memory fixes in the GUI engine, which would impact both.