First of all, I'm very very new to java and have never had occasion to wonder about it until it began to interfere with the successful running of a program. And so thank you to whoever can provide me with any insight.
The problem is as follows: I've been running java script using git bash and at one point it tells me that I need to increase heap size because apparently it takes more than 1gb to run. However although I manually increase it via control panel>programs>java nothing changes. I've been told that I need to ' figure out how to use 64bit java (and a VM that supports 64bit) in order to increase the maximum memory allocation (heap size) to something north of 2g.'
My laptop has 8GB worth of RAM (Windows 7)so it shouldn't technically have problems running anything above 1G. But there is apparently a 1GB wall
But increasing the heap size to above 2G results in an error stating that VM doesn't initialize within git bash, I thought that my java is 32 bit so I downloaded a 64 bit java. Now I have no idea how and if it is even possible to allocate a program to run under 64 bit java and if I should delete the other java version.
I really apologize if this sounds confusing but I've tried to explain the problem to the best of my ability