
JJ3 (Customer) asked a question.
The error in arduino is:
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
I have to then use Task Manager to close Arduino. Reopening works for 3-5 minutes until the error comes back. How can I continue using Productivity Blocks so I can finish writing the program?
@JJ3 (Customer) After doing some research our QA team was able to determine that the issue is with the Arduino IDE not Productivity Blocks. There is a workaround that is working here on our end and would like for you to give it a try:
1.) Ensure Java is installed on your computer.
2.) Open command prompt.
3.) Run the command:
java -jar “C:\Program Files (x86)\Arduino\tools\ProductivityBlocks\tool\ProductivityBlocks.jar”
4.) See if you can open and edit your project without issue (for us this is working!)
5.) Use the ‘verify’ button to output the program text, which can now be pasted into the Arduino IDE.
Note: If your project gets much bigger, the space on screen will start to become an issue. When space starts to run out, C++ code will become your only option.