Unanswered: Memory Management
Are there any good resources on how to manage memory in GXT/GWT?
I'm not really sure how the garbage collector runs in different browsers and I worry that I could create memory leaks while moving and overwriting lists.
When chasing a memory leak, the easiest way to start is to compile with style=PRETTY, and debug your app in Chrome with the inspector active. Take a heap snapshot, use the app further until it should be in the same state (open/close a window for example), and take another snapshot. You usually will want to repeat this several times, and compare the last several snapshots to see what has been created but not deleted - often the first few times your app is still building new objects as you open windows for the first time.
The one danger area is when you are building your own container widgets and calling the attach/detach methods manually. This is an area where is it possible to introduce memory leaks in certain browsers. Check out https://developers.google.com/web-to..._leaks_and_you for a quick summary on this topic, and the role of attach/detach methods in this process.