Talk:Virtualization
From APIDesign
(Comment provided by Nathan - via ArticleComments extension) |
(Comment provided by Daniel - via ArticleComments extension) |
||
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> |
Revision as of 07:20, 15 June 2010
Comments on Virtualization <comments />
Onno Molenkamp said ...
Nathan said ...
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).
--Nathan 02:26, 15 June 2010 (CEST)
Daniel said ...
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)
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)