When I run my application of hyprgraph construction I get this exception
java.lang.OutOfMemoryError: Java heap space
I use ubuntu 12.04
The output of the command free -m
few minute before the exception is :
noura@noura-Inspiron-N5050:~$ free -m
total used free shared buffers cached
Mem: 3939 2672 1266 0 80 610
-/+ buffers/cache: 1981 1957
Swap: 7328 65 7263
I note that the swap is not use enough It is possible to utilize it to avoid this Exception