Changed Java version to 6 and increased virtual memory