I do not know how to add more memory and if you could tell me that would be great. I did however find the problem, I had a old version of java like version 7u75 and it was 32 bit even though my computer is 64. So I updated to the new java version 8u40 and it is know working but I would still like to know how to get more memory!