GoogleChromeLabs / GoogleChromeLabs/bubblewrap
build: Unable to start the daemon process. Could not reserve enough space for 1500000KB object heap
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
**To Reproduce**
1. npm install -g @bubblewrap/cli
2. bubblewrap init --manifest ....
3. ? Do you want Bubblewrap to install JDK? Y
4. ? Do you want Bubblewrap to install Android SDK? Y
5. (complete setup)
6. bubblewrap build
(this is using VS Code's PowerShell terminal, but the same happens if I use CMD separately)
**Error**
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Unable to start the daemon process.
> This problem might be caused by incorrect configuration of the daemon.
> For example, an unrecognized jvm option is used.
> Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/6.5/userguide/gradle_daemon.html
> Process command line: C:\Users\\...\\.bubblewrap\jdk\jdk8u265-b01\bin\java.exe -Xmx1536m -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\\...\\.gradle\wrapper\dists\gradle-6.5-bin\6nifqtx7604sqp1q6g8wikw7p\gradle-6.5\lib\gradle-launcher-6.5.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.5
> Please read the following process output to find out more:
> -----------------------
> Error occurred during initialization of VM
> Could not reserve enough space for 1500000KB object heap
I also tried increasing `org.gradle.jvmargs=-Xmx1536m`
I have enough available RAM
**Desktop:**
- OS: Windows 10
- Using: VS Code or CMD
Contributor guide
Assessment
This issue has not been assessed yet.