2

I am trying to create a new Force.com Project and I am getting:

OutOfMemoryError: Java heap space error.

I lowered the amount of metadata components I am bringing over to only be the 6 Apex Triggers I am trying to delete and I updated the .ini file to increase the XXMaxPermSize to 1024m and I am still getting the error. I also made sure that I had the most up to date version of the IDE. I am not sure what to do here.

1 Answer 1

3

I have also faced this issue many time. You can do one thing .Once you get this error now change radio button to None and click save. It will fetch all your selected data and you can continue your work.

enter image description here

You don't need to lower any metadata it will work in most case. If this doesn't work for you then initially click on None and create a empty project. Now select Apex class, Trigger and all folder one by one and refresh them. It will fetch all your metadata.

5
  • So I created the empty project and then I clicked on triggers and clicked Force.com and then Refresh from Server but nothing happened. Am I missing something?
    – cmmoutes13
    Commented Jun 7, 2017 at 13:27
  • @cmmoutes13 did you get any error? or in bottom right any green counter is running? Commented Jun 7, 2017 at 13:34
  • No nothing. A loading window came up for a second, but I couldn't see what it said and then it went away and then nothing
    – cmmoutes13
    Commented Jun 7, 2017 at 13:41
  • @cmmoutes13 try to click on parent src folder. Commented Jun 7, 2017 at 13:50
  • 1
    Tushar, I deleted the project and started fresh and tried your first recommendation again and it worked. Thanks so much for the help!
    – cmmoutes13
    Commented Jun 7, 2017 at 13:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .