java and virtualization

hello all -

from a little research i did, it sounds as if anything to do with java should be running on KVM (or cloud) and not openVZ.

i did some comparison between openVZ and XEN/KVM - this was typical of what i was hearing:

Take Java for example, it usually allocates a huge chunk of memory — usually everything it can see the host node has — but it might only use/commit a small fraction of allocated memory.

any other opinions?


Staff member
Very true, java has not liked openvz in the past. As I understand it this is because the way java handles memory (wants a continuous block). VSwap openvz systems (kernel 2.6.32) appear to handle java better though.