I suddenly started seeing this error for all invocations of the Java command that refer to the 1.6 and 1.7 versions. Even a simple "java -version" will give the same problem.
This was not happening earlier today and physical memory should not be a problem:
[ufab@acano01 ~]$ free
total used free shared buffers cached
Mem: 264145020 99303160 164841860 0 165132 94458896
-/+ buffers/cache: 4679132 259465888
Swap: 266207224 0 266207224
Does anyone know what might be wrong (or a workaround for that)?