How to resolve a memory leak in GWT?

后端 未结 2 1355
余生分开走
余生分开走 2020-12-30 17:24

What\'s the best way to resolve a GWT memory leak due to the fact that GWT is compiled in javascript and code is written in JAVA ?

2条回答
  •  感情败类
    2020-12-30 17:52

    In GWT development mode you can use a Java profiler such as VisualVM or JProfiler (disclaimer: JProfiler is developed by my company) to analyze the heap.

    The GWT development mode should show the same leak as well, except for the less likely case that the leak related to the Javascript translation (which would then be a bug in GWT).

提交回复
热议问题