Text component has memory leak on M1 Silicon #1711
Labels
Close when stale
This issue is going to be closed when there is no activity for a while
Missing repro
This issue need minimum repro scenario
Bug
while using react-native-svg library for building graphics in a macOS app, I encountered a problem regarding performance, or a memory leak, don't know how I should call it.
When iterating over an array and mapping values into a component, the application frozens and memory usage goes up-high (>4 gb). I've tried to overcome this, generating the svg using the component, independent component for text, but further it proved that the problem comes from a lower-lever code.
The snippet :
As I don't have great skills in low-level languages and don't know how
react-native-svg
internally works and I'm using a relative new system (M1) together withNSPopover
in system tray, I guess it's relatively a unique problem.How do you think I can debug this?
Environment info
React native info output:
Library version: 12.1.1
The text was updated successfully, but these errors were encountered: