I´m new to GWT and have a few questions about memory usage in GWT.
Is it possible to detect, how much memory is left in the gwt client (browser)? Is there an event if the browsers memory gets low, as a signal to free resources?
Is there a known approximation value how much memory can be used in different browsers, especially mbile ones?
Tnx
I have not come across a browser api to do so. You can approach this problem in another way by designing an app low memory footprint. The profiling techniques to achieve a performance optimal app would be as follows -
Track memory footprint of GWT app for dev windows by a primitive approach. Open/Navigate Task Manager -> Performance -> PF usage .
Use memory profiler from chrome
A. https://developers.google.com/chrome-developer-tools/docs/profiles
B. https://developers.google.com/chrome-developer-tools/docs/memory-analysis-101
Use memory profiler from firefox - Javascript memory profiler for Firefox
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With