mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This diff refactors the destruction of the ReactInstanceManager when the app is experiencing low memory. As part of this refactor, I setup an experiment to understand at what level of memory pressure is convenient to destroy the RN bridge. The experiment is divided in six levels described in the following table: https://pxl.cl/1dzx8 https://www.internalfb.com/intern/qe2/fb4a_react_native_memory/android_fb4a_instance_unload_pressure_v2/setup changelog: [internal] Internal Reviewed By: JoshuaGross Differential Revision: D22577553 fbshipit-source-id: 37f8f561099a1ba6239795f5907090ced3b5dd18