Skip to content

Android redux-devtools-plugin crashes #287

@pdavid0

Description

@pdavid0

Describe the bug

OOM on Android when accessing redux-devtools-plugin

05-21 14:41:30.282 21264 21264 E AndroidRuntime: FATAL EXCEPTION: main
05-21 14:41:30.282 21264 21264 E AndroidRuntime: Process: com.myApp.dev, PID: 21264
05-21 14:41:30.282 21264 21264 E AndroidRuntime: java.lang.OutOfMemoryError: Failed to allocate a 527633408 byte allocation with 58668480 free bytes and 493MB until OOM, target footprint 78224640, growth limit 536870912
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at com.facebook.jni.NativeRunnable.run(Native Method)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:1095)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at android.os.Handler.dispatchMessageImpl(Handler.java:135)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:125)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:269)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:367)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:9333)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
05-21 14:41:30.282 21264 21264 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)

System Info

System:
  OS: macOS 26.4.1
  CPU: (8) arm64 Apple M1 Pro
  Memory: 2.82 GB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 24.13.0
    path: ~/.nvm/versions/node/v24.13.0/bin/node
  Yarn:
    version: 4.12.0
    path: ~/.nvm/versions/node/v24.13.0/bin/yarn
  npm:
    version: 11.6.2
    path: ~/.nvm/versions/node/v24.13.0/bin/npm
  Watchman:
    version: 2026.04.20.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /Users/philippedavid/.rvm/gems/ruby-2.7.5/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.4
      - iOS 26.4
      - macOS 26.4
      - tvOS 26.4
      - visionOS 26.4
      - watchOS 26.4
  Android SDK:
    API Levels:
      - "23"
      - "26"
      - "28"
      - "29"
      - "31"
      - "32"
      - "33"
      - "34"
      - "35"
      - "36"
    Build Tools:
      - 29.0.2
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 33.0.0
      - 33.0.1
      - 33.0.2
      - 34.0.0
      - 35.0.0
      - 35.0.1
      - 36.0.0
      - 36.1.0
    System Images:
      - android-28 | Intel x86 Atom_64
      - android-33 | Google APIs ARM 64 v8a
      - android-33 | Google Play ARM 64 v8a
      - android-36 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2025.3 AI-253.32098.37.2534.15336583
  Xcode:
    version: 26.4/17E192
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.19
    path: /usr/bin/javac
  Ruby:
    version: 2.7.5
    path: /Users/philippedavid/.rvm/rubies/ruby-2.7.5/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.2
    wanted: ^20.0.0
  react:
    installed: 19.1.0
    wanted: 19.1.0
  react-native:
    installed: 0.81.5
    wanted: ^0.81.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Rozenite Version

1.10.0

Reproduction

.

Steps to reproduce

Add and configure

    "@rozenite/expo-atlas-plugin": "^1.10.0",
    "@rozenite/file-system-plugin": "^1.10.0",
    "@rozenite/metro": "^1.10.0",
    "@rozenite/overlay-plugin": "^1.10.0",
    "@rozenite/performance-monitor-plugin": "^1.10.0",
    "@rozenite/react-navigation-plugin": "^1.10.0",
    "@rozenite/redux-devtools-plugin": "^1.10.0",

Boot the app on a Real Device (Google Pixel 10XL in my case)

Open the redux panel, select autoselect instance ... crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions