Skip to content

Commit

Permalink
update the Jave heap space error workaround with JVM garbage collecto…
Browse files Browse the repository at this point in the history
…r message (#2868)
  • Loading branch information
dtrdic authored Dec 4, 2024
1 parent d0d1b09 commit a44b6e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion content/troubleshooting/common-android-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Note: You'll have to completely upgrade all dependencies that require JCenter to
{{</notebox>}}


### Java heap space out of memory error
### Java heap space out of memory error or JVM garbage collector is thrashing

###### Description
Builds fail with the below error:
Expand All @@ -83,6 +83,12 @@ Builds fail with the below error:
Execution failed for task ':app:minifyReleaseWithR8'.
> com.android.tools.r8.CompilationFailedException: Compilation failed to complete

Or

FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon has been stopped: since the JVM garbage collector is thrashing


###### Solution

Expand Down

0 comments on commit a44b6e5

Please sign in to comment.