Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Enabling the built-in heap monitor.
Enabling the built-in heap monitor. [message #288245] Thu, 14 July 2005 04:54 Go to next message
Eclipse UserFriend
Hi all,
I learned from here http://andrei.gmxhome.de/monitor/index.html about
the buit in heap status monitor and wanted to enable it since I've been
using a third party plugin to monitor the heap till now. However I
failed to do it in the way given on that site. After a breaf browse
through the Eclipse CVS it turns out there is a configuration file
someware with an option to enable the heap status:

private boolean getShowHeapStatus() {
return Boolean.valueOf(
Platform.getDebugOption(PlatformUI.PLUGIN_ID
+ "/perf/showHeapStatus")).booleanValue();
}

However since I'm not familiar with the inner workings of Eclipse it
will take me considerable amount of time to track through the source the
location of the actual config file. Mostly because I cant use Eclipse to
browse the Eclipse source - the corporate firewall cut's off my CVS
access to dev.eclipse.org :(. So can anywone point me to the right place?
Re: Enabling the built-in heap monitor. [message #288278 is a reply to message #288245] Thu, 14 July 2005 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

Todor Boev wrote:
> However since I'm not familiar with the inner workings of Eclipse it
> will take me considerable amount of time to track through the source the
> location of the actual config file. Mostly because I cant use Eclipse to
> browse the Eclipse source - the corporate firewall cut's off my CVS
> access to dev.eclipse.org :(. So can anywone point me to the right place?

The options file is a general mechanism for debugging Eclipse. You create a
file, and then pass it to Eclipse using the command-line option:

-debug /path/to/file

This file is a just a basic properties file. To find which options are
supported by a plug-in, just look for a ".options" file in the plug-in root
directory or in the plug-in JAR file. To turn on the heap status, use the
following lines:

org.eclipse.ui/debug=true
org.eclipse.ui/perf/showHeapStatus=true



cheers,
d.
Re: Enabling the built-in heap monitor. [message #288375 is a reply to message #288278] Mon, 18 July 2005 02:24 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Douglas,
And how about the claim that putting Eclipse in "debug mode" makes it
real slow? Does the mere presense of a debug properties file turn on all
kinds of logging to slow me down? Or rather only the monitoring options
specified in the properties file take effect?

Regards,
Todor
Re: Enabling the built-in heap monitor. [message #288626 is a reply to message #288375] Wed, 20 July 2005 09:24 Go to previous message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

Todor Boev wrote:
> And how about the claim that putting Eclipse in "debug mode" makes it
> real slow? Does the mere presense of a debug properties file turn on all
> kinds of logging to slow me down? Or rather only the monitoring options
> specified in the properties file take effect?

Debugging does not inherently make Eclipse slow. The only thing that will
slow you down is the specific options in the properties file. Typically,
they just print information to stdout when a particular event occurs.
Depending on how often this event happens, Eclipse could become slower --
as printing to stdout is slow.



cheers,
d.
Previous Topic:How to determine the currently selected toc file in Help
Next Topic:Starting plugin1 before plugin2
Goto Forum:
  


Current Time: Sun Jun 01 03:52:43 EDT 2025

Powered by FUDForum. Page generated in 0.03573 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top