AndroidIDE icon indicating copy to clipboard operation
AndroidIDE copied to clipboard

Androdide Slowing Down

Open pavel5750cz opened this issue 1 year ago • 3 comments

Issue Checklist

  • [X] I confirm that this issue is not a duplicate and hasn't been reported before.
  • [X] I agree to follow the project's code of conduct.
  • [X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • [X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • [X] I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

Havent tyoed here lomg time. This time its not ceash but an anoying user-solvable slowdown.

HOW IT OCCURS:

I edit code. OnPause androidide to for example check how my game/app going. Then i return its okay, it can save and i can still edit when i onRese androidide by returning to it. Repeat enough more times and now androidide starts to lag. Save takes time but it saves(longer than on first androidide boot but it saves), keyboard takes also a litle longer to start but its vearable and i can work ok. Repeat more time, cant save nor type. I am using Keyboard Unexpected from fdroid. I dontthink its keyboard issue coz i can edit fine in file manager always or elsewhere even if it lags on androidide. Androidide has the issue.

HOW CAN USER SOLVE:

Restart androdide and back to work

HOW U CAN SOLVE:

I have typen possible causes later. Ima busy with my app/game. Solving this ag will make ide more comfortable sure.

Expected behavior

I expect the ide work lagless s it does first time. Screenshot_20240701-103523_Settings

Here a regular ram usage and max. I think the onResume and onPause causes it to use more and more ram until it freezes and shows anr.

Version name

Version : v2.7.1-beta (27102) CI Build : false Branch : HEAD Commit : 55bb46b31 Variant : arm64-v8a (release) Build type : OFFICIAL F-Droid Build : true F-Droid Version : v2.7.1-beta F-Droid Version code : 27102 SDK Version : 30 Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi] Manufacturer : samsung Device : SM-A202F

Download source

F-Droid

Relevant log output

No response

pavel5750cz avatar Jul 01 '24 08:07 pavel5750cz

You can also add android ide to Game Space , or something like that. Because Android gives more recourses to games and kills background apps.

PrashantRawatCoder avatar Jul 25 '24 14:07 PrashantRawatCoder

I will try. Now its not just an onpause but also afzer long codin that theres hang. Will try mark it as game

pavel5750cz avatar Jul 29 '24 01:07 pavel5750cz

Alright. Installed Gaming Hub/Center back. Added it as Game and phone works like new and lagless is the app. Performance improved

pavel5750cz avatar Jul 29 '24 01:07 pavel5750cz