I am wondering if there is any way to monitor the memory usage of a webview (ios or android/chrome) over time. Our team has a product which uses an appshell to load our canvas games which sometimes seem to leak memory and crashing the webview. It would be great if there is a way to monitor the used memory but I am not sure this scenario is covered by your addon. Do you think this is possible ?
Update: Maybe this answers it -> https://github.com/gokatz/ember-device/blob/master/addon/lib/memory.js#L19 totalHeap vs usedHeap Memory. Hmmm we will give this a go and report back.
I am wondering if there is any way to monitor the memory usage of a webview (ios or android/chrome) over time. Our team has a product which uses an appshell to load our canvas games which sometimes seem to leak memory and crashing the webview. It would be great if there is a way to monitor the used memory but I am not sure this scenario is covered by your addon. Do you think this is possible ? Update: Maybe this answers it -> https://github.com/gokatz/ember-device/blob/master/addon/lib/memory.js#L19 totalHeap vs usedHeap Memory. Hmmm we will give this a go and report back.