Java Tools
BlogJava
::
首页
::
新随笔
::
联系
::
聚合
::
管理
::
83 随笔 :: 0 文章 :: 16 评论 :: 0 Trackbacks
<
2007年7月
>
日
一
二
三
四
五
六
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
公告
常用链接
我的随笔
我的评论
我的参与
最新评论
留言簿
(2)
给我留言
查看公开留言
查看私人留言
随笔分类
Ajax(1)
(rss)
Ant
(rss)
Eclipse(8)
(rss)
English
(rss)
ERP
(rss)
HTML
(rss)
J2EE(6)
(rss)
J2ME
(rss)
J2SE(11)
(rss)
JavaScript
(rss)
JBOSS
(rss)
JDBC(5)
(rss)
JMS
(rss)
JSP(18)
(rss)
Linux
(rss)
Log4j(1)
(rss)
Microsoft(2)
(rss)
MySQL(4)
(rss)
Oracle
(rss)
PM&MBA
(rss)
SALES
(rss)
SCJP(1)
(rss)
Servlet(9)
(rss)
Tomcat(7)
(rss)
UML
(rss)
WebLogic
(rss)
WiKi(1)
(rss)
XML(4)
(rss)
企业(2)
(rss)
常识
(rss)
开源
(rss)
搜索引擎(1)
(rss)
文档(2)
(rss)
框架
(rss)
案例(8)
(rss)
电信(1)
(rss)
硬件(1)
(rss)
网络(4)
(rss)
设计模式(1)
(rss)
评论(3)
(rss)
项目管理(1)
(rss)
随笔档案
2008年1月 (2)
2007年11月 (3)
2007年8月 (4)
2007年7月 (74)
BBS
CSDN BBS spotojbc
spotojbc
SPOTO BBS
LTD
AMD Developer Central
BEA dev2dev学堂
IBM DeveloperWorks
Jboss
JRun / Java™ Platform Topic Center
SAP Developer Network (SDN)
Sun Developer Network (SDN)
OpenSource
Apache
Eclipse
Eclipse中文社区
Java开源大全
JDOM
MySQL
MySQL 中国
ObjectWeb Forge
OpenDL
Study
Subversion中文站点
Wharton School
富士通奖学金
肖菁
搜索
最新评论
1. re: 监听器统计在线的人数
@a
不错很不错值得学习
--sdfa
2. re: jsp自定义错误页
asdsda@WSC
--WSC
3. re: jsp自定义错误页
CACACACACA
--WSC
4. re: jsp自定义错误页
NIMA
--WSC
5. re: servlet规范要求:request的缺省编码必须是iso-8859-1
sdfgsdfg
--fsfsd
阅读排行榜
1. java中相对路径,绝对路径问题总结(13006)
2. 各种数据库的JDBC驱动下载及连接字符串URL写法(7746)
3. 如何教你利用google搜索你想要的东西(转载)(5603)
4. MySQL客户端显示汉字乱码的解决(5014)
5. JSP中web配置:web.xml (4945)
评论排行榜
1. jsp自定义错误页 (4)
2. 各种数据库的JDBC驱动下载及连接字符串URL写法(3)
3. 监听器统计在线的人数(2)
4. Java EE/J2EE基本概念(2)
5. 一个ERP销售人员的售前必读(1)
MemoryManager plugin for Eclipse
这个插件不错,可以监视JVM的内存使用情况,并且可以强制GC工作。
Current Version 1.0.0
.
Released Feb 1st 2004
Description
Cloudgarden's MemoryManager is a small plugin for IBM's
Eclipse
Java
I
DE, which displays the current memory usage of Eclipse (letting you know when Eclipse is close to using up all it's memory allowance), and automatically invokes garbage collection when deemed necessary by a simple but effective algorithm (see below), thus preventing or reducing times of forced inactivity while the Eclipse JVM cleans up it's virtual memory space.
The plugin takes up little screen real estate, and provides a visual and numerical display of the free, total and maximum memory allocations, as well as indicating when it forced a garbage collection (it also has a button to manually force garbage collection). In the screen shot, the green region represents the free memory, the red region the used memory (which is equal to the total memory minus the free memory) and the black region represents space for expansion. The blue lines indicate when a garbage-collection happened. Scrolling of the display can be paused and re-started, and past values can be stepped through as a simple tool for analysing memory usage by applications in the workbench.
The plugin is Open Source, (the source is
here
) and should work on most platforms (it has been tested on Windows, Linux and Mac).
Download
The plugin is contained in
this file
. Simply extract and install in your eclipse folder, then start eclipse.
Usage
Show the plugin by choosing "Windows->Views->Other->MemoryManager->Memory" in the eclipse main menu. The plugin will immediately start displaying memory usage and collecting garbage when necessary. Note: If total usage is less than half of the maximum allowed space, the display will be scaled vertically by a factor of two (ie, the height of the display represents only half of the maximum memory), but once the total memory excedes half of the maximum, the height represents the maximum allowed memory usage.
Requirements
Eclipse version 2.1.2 or 3M6. If run under a 1.3 JVM, the maximum memory cannot be calculated (since there is no such method in the 1.3 API), and the display will have no black area.
Garbage collection algorithm
1) At startup, or immediately after garbage-collection, find the free memory.
2) Keep checking free memory every second or two.
3) When the free memory drops below 75% of the free memory after the last garbage collection (or at startup), do another garbage-collection.
That's it - simple, but apparently effective.
posted on 2007-07-05 16:18
和田雨
阅读(502)
评论(0)
编辑
收藏
所属分类:
Eclipse
新用户注册
刷新评论列表
只有注册用户
登录
后才能发表评论。
网站导航:
博客园
IT新闻
Chat2DB
C++博客
博问
管理
相关文章:
汉化Eclipse的方法
Eclipse插件之SQLExplorer
使用Eclipse Callisto分析应用程序
Eclipse 的历史、现状和未来
Sysdeo/SQLI Eclipse Tomcat Launcher plugin
Log4E
MemoryManager plugin for Eclipse
开发一个调试 JSP 的 Eclipse 插件
Powered by:
BlogJava
Copyright © 和田雨