FMallocUnused shows negative values that looks weird. I would like to find out whether it’s a bug or some insights on how to interpret such values.
It’s worth mentioning that we run on iOS with ANSI allocator.
FMallocUnused shows negative values that looks weird. I would like to find out whether it’s a bug or some insights on how to interpret such values.
It’s worth mentioning that we run on iOS with ANSI allocator.
Steps to Reproduce
In the game, we performed repeatable actions of transition from the lobby to battle.
The FMallocUnused value that we got from memreport showed consistent negative growth.
Haven’t tried to reproduce it on the clean project.
[Image Removed]
Hi Ihar,
Thanks for bringing this issue to our attention. There is likely an imbalance bug with the LLM instrumentation for one of the metrics contributing to the calculation of FMallocUnused. If you happen to have a small project that reproduces the issue that you can share, please advise.
Best regards.
Hello Stephane,
We had a chat with Martin recently and he stated that it was a known issue. Just for clarification: is it some kind of undefined behaviour that’s not easy to catch and you seek for our help in case we have a high reproduction rate? In this case it may look like something project-specific and may pose a problem.
I can try to repro it on a sample project though.
Hi ihar,
Have you seen this exclusively on iOS? If so, it may be related to use of the system level API os_proc_available_memory which doesn’t provide a stable source and can change over time depending on application memory pressures and other applications getting evicted in the background. However, if you are seeing this on Android, this may not be the cause.
Best regards.