[ReactNative] : memory leak with subscribe funcion
freeboub opened this issue · 2 comments
Describe the bug
Memory leak with react native and hermes environment.
I open this ticket for information to other users but you may also help react native team to understand the issue
I also open a ticket in react native: facebook/hermes#922
Expected behavior
no memory leak
Reproduction code
Here is sample code: https://github.com/freeboub/rxjsSample
Reproduction URL
https://github.com/freeboub/rxjsSample
Version
^7.8.0
Environment
System:
OS: macOS 13.0
CPU: (8) arm64 Apple M2
Memory: 676.73 MB / 24.00 GB
Shell: 5.9 - /opt/homebrew/bin/zsh
Binaries:
Node: 16.14.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.4.0 - /opt/homebrew/bin/npm
Watchman: 2023.02.13.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 28, 31, 33
Build Tools: 29.0.2, 30.0.3, 31.0.0, 33.0.0, 33.0.1
System Images: android-23 | Android TV ARM EABI v7a, android-33 | Google TV ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.18 - /opt/homebrew/opt/openjdk@11/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.3 => 0.71.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Additional context
No response
This ticket have an answer in hermes project. I think this is a critical issue, it would be good to check !
Seems linked to hermes, let's close this issue