Hello!
We have been experiencing some memory leaks on our project, and we have no clue about what is going on. It does not happen always, I’ve been trying to reproduce it but it only happens like once every few hours. There is no pattern on when it happens. I’ve tried to connect the iphone with the unity profiler and, the unity profiler does not show anything strange. But When connecting with Xcode we can see that the game starts increasing the memory until it reaches the limit and the SO closes it. (Take into account that those “steps” are only because I’ve tried to go step by step in the execution from xcode, but without pausing the execution is simply a ramp up until it crashes.
I’ve tried to connect the iPhone and use the unity profiler but unity profiler didn’t show anything strange, it showed the normal memory usage.
We are using: Adjust, Facebook, Leanplum, Amplitude, IronSource Crashlytics (this crash does not appear there, because it ran out of memory, so it cannot save/send the crash).
Unity 2019.2.13f1
I also uploaded the instruments alloc memory screenshot.
I’ve tried adding logs into Leanplum calls, and everything and I have no clue on how to solve it or which can be the problem. Anyone has faced the same problem?!
As I said, there is no pattern, sometimes simply having the game in the map menu without doing anything for few minutes and then it starts to consume a lot of memory.
I also attach: Instruments alloc screenshot.
We are using: Adjust, Facebook, Leanplum, Amplitude, IronSource Crashlytics (this crash does not appear there, because it ran out of memory, so it cannot save/send the crash).
Unity 2019.2.13f1
I’ve tried adding logs into Leanplum calls, and everything and I have no clue on how to solve it or which can be the problem.