Skip to main content
Answered

iOS React Native 5.2.0 leaks memory and crashes

  • September 6, 2023
  • 2 replies
  • 150 views

We’ve seen this now occasionally where Intercom gets into a reconnection state and keeps allocating more and more memory. On production iOS this results in a termination of the OS but in our simulator it will accumulate until it cannot get no more (we’ve seen this go up in the several hundreds of gigabytes). Since the source is closed I cannot determine where this goes wrong but the memory inspection seems to point to these two functions:

 

 

As long as we keep the debugger on we will continuously see this being triggered, literally thousands of times within a minute.

 

Is there anything that can be done here?

Best answer by Joseph Callaars

Actually, 5.3.1 that just came out seems to have a potential bug fix. I’ll try that one out.

View original
Did this topic help you find an answer to your question?

2 replies

Can you try version 5.3.0 that is fixing a memory leak on iOS. It might be related.


  • Author
  • New Participant
  • 1 reply
  • Answer
  • September 7, 2023

Actually, 5.3.1 that just came out seems to have a potential bug fix. I’ll try that one out.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings