Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » memory indicator?
memory indicator? [message #64893] Mon, 16 May 2005 18:39 Go to next message
Eclipse UserFriend
Originally posted by: jeroen.lightyear.be

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there some kind of indicator in Eclipse which displays the amount of
RAM used by Eclipse?
I found two plugins that do this (by example Freemem,
http://junginger.biz/eclipse/), but today i read something about the
org.eclipse.core/perf/showHeapStatus option so i started wondering if
something like that was already included in Eclipse?

Thx!
Greetz,
Jeroen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCiOj7H04wF4t7d0oRAqKsAJ9dB2/hJZXbcYRs/V8/6KqgbQdWtwCb BD4H
aez/mOObwGprpSb6vCOYcVA=
=1KKN
-----END PGP SIGNATURE-----
Re: memory indicator? [message #65271 is a reply to message #64893] Tue, 17 May 2005 14:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Jeroen Budts wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is there some kind of indicator in Eclipse which displays the amount of
> RAM used by Eclipse?
> I found two plugins that do this (by example Freemem,
> http://junginger.biz/eclipse/), but today i read something about the
> org.eclipse.core/perf/showHeapStatus option so i started wondering if
> something like that was already included in Eclipse?

Those kinds of tools are only going to show how much heap is being used,
not the total system RAM in use. You can control Eclipse's heap usage by
specifying -Xmx and -Xms options on the eclipse.exe command-line. You
can monitor total system RAM usage through whatever tools you OS
provides. Remember that any Java process' total RAM usage is not only
the heap size but also all the other artifacts that are loaded into the
VM, including classes.

HTH,
Eric
Re: memory indicator? [message #65501 is a reply to message #65271] Tue, 17 May 2005 21:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeroen.lightyear.be

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Rizzo wrote:
> Jeroen Budts wrote:
>> Is there some kind of indicator in Eclipse which displays the amount of
>> RAM used by Eclipse?
>> I found two plugins that do this (by example Freemem,
>> http://junginger.biz/eclipse/), but today i read something about the
>> org.eclipse.core/perf/showHeapStatus option so i started wondering if
>> something like that was already included in Eclipse?
>
> Those kinds of tools are only going to show how much heap is being used,
> not the total system RAM in use. You can control Eclipse's heap usage by
> specifying -Xmx and -Xms options on the eclipse.exe command-line. You
> can monitor total system RAM usage through whatever tools you OS
> provides. Remember that any Java process' total RAM usage is not only
> the heap size but also all the other artifacts that are loaded into the
> VM, including classes.
>
I am aware of these options and the fact that it only shows the used
heap. It's just a fancy 'nice to have'. Other applications like IntelliJ
and jEdit also have it.
While searching some more i found a nice one from the Eclipse project
itself:
http://dev.eclipse.org/viewcvs/index.cgi/platform-ui-home/de v.html?rev=1.38
(update site:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-ui-home/updates)

Thx!
Jeroen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCimEpH04wF4t7d0oRAojUAJ0U8+IxjcLRChAgsn8v/Mqdrff4KQCd GrIv
RvI7H6smfdYmf9NXP0fOPgo=
=a8Fw
-----END PGP SIGNATURE-----
Re: memory indicator? [message #66101 is a reply to message #64893] Wed, 18 May 2005 19:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

Using Eclipse 3.1 M7, create a file called ".options" in the Eclipse
install directory, containing the following line:

org.eclipse.ui/perf/showHeapStatus=true

Start Eclipse with the -debug command line argument, and you will now
see heap usage in the status line, along with a button to force garbage
collection. Clicking on the heap will "snapshot" the current heap
usage, which is useful for finding leaks and observing memory growth for
a given operation.
--

Jeroen Budts wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is there some kind of indicator in Eclipse which displays the amount of
> RAM used by Eclipse?
> I found two plugins that do this (by example Freemem,
> http://junginger.biz/eclipse/), but today i read something about the
> org.eclipse.core/perf/showHeapStatus option so i started wondering if
> something like that was already included in Eclipse?
>
> Thx!
> Greetz,
> Jeroen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCiOj7H04wF4t7d0oRAqKsAJ9dB2/hJZXbcYRs/V8/6KqgbQdWtwCb BD4H
> aez/mOObwGprpSb6vCOYcVA=
> =1KKN
> -----END PGP SIGNATURE-----
Re: memory indicator? [message #66249 is a reply to message #66101] Thu, 19 May 2005 00:04 Go to previous message
Eclipse UserFriend
Originally posted by: jeroen.lightyear.be

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arthorne wrote:
> Using Eclipse 3.1 M7, create a file called ".options" in the Eclipse
> install directory, containing the following line:
>
> org.eclipse.ui/perf/showHeapStatus=true
>
> Start Eclipse with the -debug command line argument, and you will now
> see heap usage in the status line, along with a button to force garbage
> collection. Clicking on the heap will "snapshot" the current heap
> usage, which is useful for finding leaks and observing memory growth for
> a given operation.
Ah that's indeed a cool memory indicator :) It seems to be allmost the
same as the one found at
http://dev.eclipse.org/viewcvs/index.cgi/platform-ui-home/de v.html?rev=1.38
(but with some more options for debugging)

thx!
Jeroen


- --
<TeRanEX/>
--- e-mail: jeroen@lightyear.be - jid: teranex@jabber.org
--- blog: http://budts.be/weblog/ - cv: http://budts.be/jeroen/
--- projects: http://lightyear.be - pgp: 0x8B7B774A


_____________________________________
NO SoftwarePatents in Europe!
See an example: http://webshop.ffii.org/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCi9f3H04wF4t7d0oRAg1EAJ9qibyeJjBrn/h3Bu8VB3Vvw+j43ACf XpHp
dnZ+X3rPKJy65cGGpv5uink=
=ebfq
-----END PGP SIGNATURE-----
Previous Topic:couple of questions
Next Topic:Problems beginning Installation
Goto Forum:
  


Current Time: Wed Jul 17 11:52:31 GMT 2024

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

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

Back to the top