This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 67077

Summary: [50cat] some options for Memory indicator of Netbeans Platform
Product: platform Reporter: kalali <kalali>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description kalali 2005-10-18 22:05:36 UTC
[ BUILD # : 200513101600 ]
[ JDK VERSION : 1.6 ]

It would be good if that memory indicator of Netbeans had some option in settings window.by
I think :
1-Force GC when memory consumption passed ?? MB.
2-autoGC each ?? minutes
3-Alaram : -for example change the color of histogram- when memory usage reached ?? MB.
Comment 1 _ rkubacki 2006-12-07 13:17:33 UTC
I'll take the ownership. Some comments:

- generally I do not want to spoil default implementation with this additional
functionality and sounds like low priority
- re 1. this can negatively affect performance of various cache throughout the
system. if the problem that your are trying to address is long blocking full GC
you can consider use of other GC strategy like comncurrent mark & sweep
- re 2. even worse than 1 so I' defer this
- re 3. maybe, but what does it mean. btw it can be quite simple to implement
with JMX (with small performance penalty) and track it for example from external
JConsole or write a simple plugin that will annotate such state (icon in status
line or status message).

If someone want to contribute let's do it.
Comment 2 _ rkubacki 2007-10-30 18:08:28 UTC
Mostly performance related. Passing to Petr N.