Increasing the memory of the vm to avoiding crashing