Arduino IDE crashes

Hello,
When I'm running the arduino IDE, it crashes, saying that "java could not create a virtual machine". When I run the debug app it says "Invalid maximum heap size: -Xmx5G".
Any ideads?

Hi @bealefay. Is that the full and exact text of the error? If not, please post the error message. I remember seeing some good discussion about fixing this issue, but I can't seem to find it now. If there is more to the error message, it might help me craft a more effective search.