Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

Re: [Cooker] Re: 2008.1 extremely power hungry?

Colin Guthrie

2008-05-15

Replies: Find Java Web Hosting

Author LoginPost Reply
Steve Morris wrote:
> The issue now is that the
> application that is using most of the power when I am doing my
> development work I can't do anything about, which is java consuming
> 67.5% of the power usage, it is a bit hard to do java development
> without java (I am using eclipse and netbeans). What I don't understand,
> assuming my assumptions are correct, is that assuming the power
> consumptions by java hasn't changed from 1.6.0.4 to 1.6.0.6, why is
> 2008.1 more sensitive to it than 2008.0 was. The 1.6.0.4 version was
> directly from Sun whereas the 1.6.0.6 version is Mandrivas version.

One thing to check is that you are definately using Sun's Java for
eclipse and not using e.g. gcj's version.

You should be able to check with simply java -version.

As they are all handled by an alternatives system it's entirly possibly
you are actually using the slower/more hungry java VM.

Also check which java is actually running (via the paths in ps aux |
grep java) as there may be some old hardcoded paths somewhere in either
eclipse or netbeans.

I'm no java dev nor user, but I've noticed such things before.

Col


--

+--------------------------+
|    Colin Guthrie     |
+--------------------------+
| cguthrie(at)mandriva.org |
| http://colin.guthr.ie/ |
+--------------------------+
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.