Closed asllop closed 8 months ago
Detected problems with RokuOS 12.5 beta, probably caused by a bug in RokuOS. Waiting to get a stable version from Roku.
The call to roAppMemoryMonitor.GetChannelAvailableMemory()
freezes the device, unless you put a special setting in your app's manifest: run_as_process=1
, in that case it works perfectly. Looks like a call to roAppMemoryMonitor.EnableMemoryWarningEvent(true)
returns true when this configuration exist, and false otherwise, and thus it's only safe to call GetChannelAvailableMemory
when it returns true.
Add memory attributes available on RokuOS 12.5+