Following error happens if I call java or javac:
Error occurred during initialization of VM
Could not reserve enough space for object heap
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb7dee4da, pid=9915, tid=3084225424
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode linux-x86)
# Problematic frame:
# C [libc.so.6+0x6f4da] cfree+0x7a
#
# An error report file with more information is saved as:
# /root/hs_err_pid9915.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
As far as I read, the problem is supposed to be that java tries to allocate a continuous chunk of memory, and this doesn't work in some virtual environments (Xen, openVZ and others).
Is there a solution for this problem?