Skip to content

The IDE Can't handle decoupled projects #8

Description

@Rafael2616

Hi dev, I'm super excited with your work on the IDE, so I can tell you that very large or even minium multimodule projects are impossible to run, i think this was start to happen with new tooling API implementation or indexing API much time ago by the old Android IDE developer. So the point is that the big project consume excessive RAM, my device has 12 Gb RAM+ 4 Ram boost + powerful CPU and even the application crashes with Out of Memory. I would be very happy if this problem could be identified and fixed. My project has about 16 modules and it is Kotlin multiplataform

Here is the stack:

AndroidIDE Crash Report
Version : v1.0.0+gh.r01 (1000)
Variant : arm64-v8a (release)
Build type : UNOFFICIAL
SDK Version : 35
Supported ABIs : [arm64-v8a]
Manufacturer : motorola
Device : motorolaedge60pro

Stacktrace:
java.lang.OutOfMemoryError: Failed to allocate a 224 byte allocation with 558512 free bytes and 545KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
at android.view.DisplayInfo$1.createFromParcel(DisplayInfo.java:395)
at android.view.DisplayInfo$1.createFromParcel(DisplayInfo.java:392)
at android.os.Parcel.readTypedObject(Parcel.java:4218)
at android.hardware.display.IDisplayManager$Stub$Proxy.getDisplayInfo(IDisplayManager.java:1399)
at android.hardware.display.DisplayManagerGlobal$1.recompute(DisplayManagerGlobal.java:173)
at android.hardware.display.DisplayManagerGlobal$1.recompute(DisplayManagerGlobal.java:169)
at android.app.PropertyInvalidatedCache.query(PropertyInvalidatedCache.java:999)
at android.hardware.display.DisplayManagerGlobal.getDisplayInfoLocked(DisplayManagerGlobal.java:235)
at android.hardware.display.DisplayManagerGlobal.handleDisplayEvent(DisplayManagerGlobal.java:536)
at android.hardware.display.DisplayManagerGlobal.-$$Nest$mhandleDisplayEvent(Unknown Source:0)
at android.hardware.display.DisplayManagerGlobal$DisplayManagerCallback.onDisplayEvent(DisplayManagerGlobal.java:1370)
at android.hardware.display.IDisplayManagerCallback$Stub.onTransact(IDisplayManagerCallback.java:87)
at android.os.Binder.execTransactInternal(Binder.java:1520)
at android.os.Binder.execTransact(Binder.java:1453)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions