锁定老帖子 主题:使用Sleak分析RCP应用潜在内存泄露
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-02-14
1. following the website(http://www.eclipse.org/swt/tools.php) instructions:
Open your launch configuration and go to the "Tracing" tab.
3. add "org.eclipse.swt.sleak" to "required plug-ins"on "plugin.xml", then open the product file, "add required plug-ins".
4. add sleak view to the perspective, the view id is "org.eclipse.swt.sleak.views.SleakView".
5. launch the application, then you can see the sleak view, click "Snap", then you will find the graphics that are used in your application. Note that they are not absolutely leaked in your application, they just exist. If you believe some of them are no longer needed and should have been disposed, then you find leaks.
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-02-15
建议题目叫做分析潜在内存泄露。
我们有个rcp程序现在出现运行缓慢的问题,不知道有没有分析工具? |
|
返回顶楼 | |
发表时间:2008-02-15
运行缓慢……
有具体的数据么? |
|
返回顶楼 | |
浏览 2835 次