-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
[Bug]: The max heap space is stuck at 712 MBs, preventing compilation #1807
Comments
The mentioned commit uses
And from the JVM 17 docs :
I have added a commit which should fix the issue (works in my tests at least). Can you retry with the latest CI build? |
Got it, I'll test and check if the error has been fixed 👍 |
Ok, I don't know if this is related to the last commit, as the version I was using before upgrading to this is one from about 3 months ago, but when trying to initialize my multi-module project the app starts to freeze and becomes unusable (it didn't happen in the commit I was using) Video: https://drive.google.com/file/d/1KZ_eFy9RAxDMaRljVQX7NcdmcmyI9kec/view?usp=drivesdk |
After some time stuttering, the IDE shows the crash log:
This didn't happen in the version from 3 months ago that I used before upgrading to this one, but when I downgraded again to the version I used (and that worked) the error starts to happen there too.. Could it be due to some configuration that is persisted even after the downgrade? |
After some days of testing, I reinstalled the IDE from scratch, cleaned the IDE data and Gradle caches, but the crash problem continued even after all this. So after I need to open my project sometimes without any hope just to access some files, the project iinitialized successfully and from then on for about 2 days every time it continued to initialize as if sitting had occurred https://drive.google.com/file/d/174I8TfgfLO-tHxO6A3RuVFX1i-Y4Yefv/view?usp=drivesdk And the original problem of this Issue has actually been fixed. So I think I can move this to another problem? |
Sure. Memory issues could be discussed in #1694. |
Issue Checklist
Additional terms
Issue explanation
After commit https://github.com/AndroidIDEOfficial/AndroidIDE/actions/runs/8363217788
'xmx' configuration used to build the project is 712 MBs instead of the one defined in gradle.properties, preventing the execution of certain tasks and the build
Expected behavior
Recognize the value of xmx from org.gradle.jvmargs to that defined in the project's Gradle properties file instead of 712 MBs.
Version name
Version : v2.7.1-beta (27101)
CI Build : true
Branch : dev
Commit : b7e8464
Variant : armeabi-v7a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 28
Supported ABIs : [armeabi-v7a, armeabi]
Manufacturer : LGE
Device : LM-X420
Download source
GitHub
Relevant log output
The text was updated successfully, but these errors were encountered: