-
Notifications
You must be signed in to change notification settings - Fork 848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory issue when building an Android app #839
Comments
i had the same issue. any workaround here |
Having the same problem. We are a lot closer to getting Android to build than before. But still not there. Hope we can get there soon :). Windows Insider Build:
Stacktrace:
Strace:
straceoutput.769 contains
|
Every time you see "Cannot allocate memory" try making your windows swap file size the biggest possible. see #851 |
The official issue for solving this issue seems to be: #1286 I set swap file to 8GB and it worked. But the build seems to be hanging in |
Marking this as a duplicate of #851 - see my comment about the incoming fix #851 (comment) |
Please use the following bug reporting template to help produce actionable and reproducible issues:
Running the command
export ANDROID_HOME=$ANDROID_HOME; ./gradlew --info build --stacktrace
, I get a memory issue.Win 10 Anniversary
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: