Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+4 votes

Eclipse on my laptop has run out of memory and opening the program or attempting to make changes causes it to throw a java heap error and then crash moments later. I have uninstalled and reinstalled the program. I have updated the program to the latest edition of Eclipse. I have created a new workspace. I have attempted to manually increase the memory using the eclipse.ini document. None of this has work. Help.

asked in CSC305 Fall 2021 by (8 points)

2 Answers

+2 votes

How much ram does your computer have? Depending on the age of your computer, it might not be able to handle eclipse...This link might help

answered by (8 points)

My laptop is about 5 years old, but it can still run heavily modded Minecraft (which needs a lot of ram) and other ram heavy games with no problem. So I don't think my computer's overall ram is the issue here.

+1 vote

Not sure if this will work, but one other thing you could try is to install a different version of the Java JDK, and then changing the eclipse.ini file to point to that (
https://stackoverflow.com/questions/23174265/how-to-specify-jdk-path-in-eclipse-ini-on-windows-8-when-path-contains-space )

answered by (17k points)