111.92.5.236: Comment provided by Antony John - via ArticleComments extension - 2010-06-15 18:12:20

Comment provided by Antony John - via ArticleComments extension

←Older revision Revision as of 18:12, 15 June 2010
Line 38: Line 38:
--[[User:JaroslavTulach|JaroslavTulach]] 11:11, 15 June 2010 (UTC)
--[[User:JaroslavTulach|JaroslavTulach]] 11:11, 15 June 2010 (UTC)
 +
</div>
 +
== Antony John said ... ==
 +
 +
<div class='commentBlock'>
 +
I faced the same problem with OpenJdk 1.6 in 10.4 Ubuntu and reverted to sun jdk 1.6.. and reduced the default heap allocations.. My machine even after having 2 GB of memory + flash based parallel swap went into grinding halts.. I think any app using more than 64 MB on startup is bloat-ware... Thanks Nathan for pointing out.. By the way I switched to Netbeans and they have this wonderful activation on demand mechanism for plugins that helps to manage memory more efficiently..
 +
 +
--Antony John 20:12, 15 June 2010 (CEST)
</div>
</div>

JaroslavTulach at 11:11, 15 June 2010 - 2010-06-15 11:11:49

←Older revision Revision as of 11:11, 15 June 2010
Line 9: Line 9:
--Onno Molenkamp 18:07, 14 June 2010 (CEST)
--Onno Molenkamp 18:07, 14 June 2010 (CEST)
 +
 +
Well, that was my assumption as well. But for some reason it is not true. Starting many (maybe only [[Java]]) processes with huge VIRT size, just kills the system, forcing it to use huge amount of swap.
 +
 +
--[[User:JaroslavTulach|JaroslavTulach]] 11:11, 15 June 2010 (UTC)
 +
</div>
</div>
== Nathan said ... ==
== Nathan said ... ==
Line 18: Line 23:
--[http://nathan.crause.name Nathan] 02:26, 15 June 2010 (CEST)
--[http://nathan.crause.name Nathan] 02:26, 15 June 2010 (CEST)
 +
 +
I'll do my best to make sure this testimony is seen by [[OpenJDK]] guys.
 +
--[[User:JaroslavTulach|JaroslavTulach]] 11:11, 15 June 2010 (UTC)
 +
</div>
</div>
== Daniel said ... ==
== Daniel said ... ==
Line 25: Line 34:
--Daniel 09:20, 15 June 2010 (CEST)
--Daniel 09:20, 15 June 2010 (CEST)
 +
 +
'''256MB'''!? Hopefully they at least check whether the system has 256MB of real memory! If not, I at least know where to report a bug.
 +
--[[User:JaroslavTulach|JaroslavTulach]] 11:11, 15 June 2010 (UTC)
 +
</div>
</div>

80.108.42.222: Comment provided by Daniel - via ArticleComments extension - 2010-06-15 07:20:13

Comment provided by Daniel - via ArticleComments extension

←Older revision Revision as of 07:20, 15 June 2010
Line 18: Line 18:
--[http://nathan.crause.name Nathan] 02:26, 15 June 2010 (CEST)
--[http://nathan.crause.name Nathan] 02:26, 15 June 2010 (CEST)
 +
</div>
 +
== Daniel said ... ==
 +
 +
<div class='commentBlock'>
 +
I agree that 512m is much too high for most Java applications. A recent version of Sun JDK bumped the default heap size to 256 MB, though, so if you're concerned about resources, I'd strongly recommend to find a way for setting the maximum heap and permgen size in Hudson (I guess it'd be fine with 64 MB too).
 +
 +
--Daniel 09:20, 15 June 2010 (CEST)
</div>
</div>

99.199.159.82: Comment provided by Nathan - via ArticleComments extension - 2010-06-15 00:26:27

Comment provided by Nathan - via ArticleComments extension

←Older revision Revision as of 00:26, 15 June 2010
Line 9: Line 9:
--Onno Molenkamp 18:07, 14 June 2010 (CEST)
--Onno Molenkamp 18:07, 14 June 2010 (CEST)
 +
</div>
 +
== Nathan said ... ==
 +
 +
<div class='commentBlock'>
 +
This isn't just a virtualization issue - I upgraded my PC to Ubuntu 10.04 which uninstalled the Sun JDK and installed OpenJDK. Any development work I did in Netbeans which launched Glassfish completely crippled my machine. After removing OpenJDK and re-installing the Sun JDK, all was well again. This on a straight Linux machine, no virtualized anything. Given this, I cannot honestly recommend OpenJDK for any purpose what-so-ever.
 +
 +
Added on top of this is that the OpenJDK applet plugin doesn't support the Java console, so debugging applets is infeasible (there's a work-around to launch FireFox from a console, but that's not helpful when trying to debug for an end-user).
 +
 +
--[http://nathan.crause.name Nathan] 02:26, 15 June 2010 (CEST)
</div>
</div>

80.101.104.7: Comment provided by Onno Molenkamp - via ArticleComments extension - 2010-06-14 16:07:24

Comment provided by Onno Molenkamp - via ArticleComments extension

New page

<noinclude>Comments on [[Virtualization]]
<comments />
----- __NOEDITSECTION__</noinclude>

== Onno Molenkamp said ... ==

<div class='commentBlock'>
The VIRT column doesn't say much about the amount of memory used. This can be easily seen by comparing the total amounts of memory used in both cases: they're more or less the same, even though the VIRT value for the java process is very different.

--Onno Molenkamp 18:07, 14 June 2010 (CEST)
</div>