Java Introduction to Functional Programming Java's Functional Toolset Using forEach

I can't start the gradle after importing.

When I refresh the gradle after importing the project, it said something like out of memory heap??? Gradle 'lcc-java-fp-printer-1.0.3' project refresh failed unable to start the daemon process could not reserve enough space for object heap

1 Answer

Livia Galeazzi
PRO
Livia Galeazzi
Java Web Development Techdegree Graduate 19,448 Points

It looks like Gradle doesn't have enough memory available. Try the steps in the best answer listed here (Android Studio is also IntelliJ Idea, just with a slightly different setup): https://stackoverflow.com/questions/30045417/android-gradle-could-not-reserve-enough-space-for-object-heap