Cannot allocate memory
See original GitHub issueVersions
- Python: 3.10
- OS: Windows 10
- Buildozer: 1.4.0
Description
buildozer -v android debug
running into a problem with the gradle build, it throws errors and never completes. All the errors it throws are about memory, for examlple:
.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/myapp/build/intermediates/merged_jni_libs/debug/out/arm64-v8a/libhidapi.so: Cannot allocate memory
How would one solve this issue, as I haven’t found a way to increase the allocated memory, and cannot think of any other solutions?
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How To Fix “bash: fork cannot allocate memory Error”? - Skynats
The insufficient memory issue happens due to several reasons but basically, it occurs due to something is eating up all of your memory...
Read more >Why am I frequently getting this "Cannot allocate memory" error?
Most probably the problem lies with one of the less frequently used indicators you are using, e.g., either the one on the left...
Read more >How to fix Linux "bash fork Cannot allocate memory" error
The OOM situation is caused by exhausting the memory allowed to a given cpuset/control group, then “available memory” is the total amount ...
Read more >bash: fork: Cannot allocate memory - linux - Stack Overflow
On investigating, found that system is using all the memory for Caching and is not freeing up memory. This is called Cache Ballooning...
Read more >Error on Plesk for Linux: Fork failed - Cannot allocate memory
Many actions on a Plesk server cannot be performed with the following error: Cannot allocate memory. Sites or random Plesk pages are not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the info on jdk17 and Gradle.
FYI https://github.com/Android-for-Python/Android-for-Python-Users#changing-buildozerspec
Also FYI https://github.com/Android-for-Python/Android-for-Python-Users#androidapi
👋 @AriDeve, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project. Let us know if this comment was made in error, and we’ll be happy to reopen the issue.