Run Pycharm CE on RPi gives insufficient memory for the JRE
Hi all :)
This is my first post here. As I just started to learn Python and in the same time the PyCharm CE IDE, I wanted to install it on a Raspberry Pi with Raspbian GNU/Linux 11 (bullseye) with 4GB of RAM. As I saw it is possible I tried it. But I do not manage to use it as it crashes systematically sometimes immediately and sometimes after a while.
I tested multiple PyCharm versions v2023.2, 2022.3.3 with JRE OpenJDK 17.0.7 with no success.
I also tested in forcing the JVM and the Java options with for example :
$ JAVA_TOOL_OPTIONS="-Xmx512M -Xms512M" JAVA_HOME=/usr/lib/jvm/java-17-openjdk-armhf/ /data/noinstall/pycharm-community-2022.3.3/bin/pycharm.sh &
but with no more success !
In short it is unusable !
Is it really possible to install it on a RPi or must I turn to another EDI ?
With adelphity
lnj
请先登录再写评论。
Noboby can help me ? More explanations ?
Also, consider trying the Professional version, which has the SSH interpreter (https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html), so you can install it on your desktop, and run the code on the Pi device remotely.
Thank you for your help :)
I do not managed to log what happened with JVM (no such file or directory). I tried the following command (maybe it is not the good usage) :
What is wrong ?
See this StackOverflow post about using the option: https://stackoverflow.com/q/22618582/10895914
And documentation: https://www.oracle.com/java/technologies/javase/vmoptions-jsp.html#DebuggingOptions
Sorry, indeed pycharm.log was not the real file as I named it for clarity of the message (pc.log making no sense) and forgot to apply the change elsewhere.
So yes VM parameter -XX:ErrorFile seems not working so I can not post what happened.