Reputation: 7
First of all, I am sorry if what I will describe isn't clear, I'm learning english and I'm new in this website and new in the field of IT.
So, I tried to install PyCharm on my VirtualBox (Kali Linux), but when I launch the pycharm.sh file, there is this error. The problem is that I tried to modify the Xmx and Xms parameters, but I tried everything (Xmx:512, Xms:128, Xmx:1028m, Xms:512, etc.) but I always have this error. My machine has 5GB of RAM and 11GB of disk storage. It worked ONE time without this error; it was with Xmx:512m and Xms:128m, but I turned off the machine and the error reappeared. Can you please find a solution?
Upvotes: -1
Views: 492
Reputation: 147
It seems like you're encountering a Java heap space error when launching PyCharm.
Try this: open the pycharm.vmoptions
file in the PyCharm installation directory and set both Xmx and Xms values to the same value, for example, Xmx=512m and Xms=512m.
Save the file and try launching PyCharm again. If the issue persists, you may want to check if there are other conflicting configurations or consider reinstalling PyCharm.
Upvotes: -2