Skip to content

RSOD Memory Usage #20637

@anthonyhumphreys

Description

@anthonyhumphreys

Environment

React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
      Memory: 11.73 GB / 32.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.7.0 - /usr/local/bin/node
      npm: 6.2.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
      Android SDK:
        Build Tools: 23.0.1, 25.0.0, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.1, 28.0.2
        API Levels: 23, 25, 26, 28
    IDEs:
      Android Studio: 3.1 AI-173.4819257
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.4.1 => 16.4.1
      react-native: 0.56.0 => 0.56.0
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Description

I will conduct more investigation to obtain some more solid info on this one, but so far I can only report high memory usage/leak when an RSOD is encountered in a RN project whilst Remote Debug was enabled - A RSOD occurred while my machine was unattended, on my return i found the attached usage (and a hot, loud MacBook! 😛) only affects iOS.

The project is a boilerplate I'm working on and is currently a testbed for some UX work - there are no debugging tools installed in it, only apollo-client and native-base. The same behaviour seems to occur in an independent project, and the error has been encountered on colleagues' machines.

screen shot 2018-08-12 at 15 13 57

Reproducible Demo

Have a component throw an error on render to trigger RSOD and leave for a while. Memory usage rapidly goes up. Seems to only happen when chrome debugger is attached.

More details to follow after investigating some more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugStaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions