The project uses an Objective-C class with block method style. The instance calls these methods chainingly, resulting in 15 chains. However, Infer capture by xcodebuild is stuck when compiling Infer.m which causing continuous memory increase (up to 20 GB and continuously increasing) until the device shuts down.
Using the next block with 14 chains consumes about 10GB of memory, while using 13 chains consumes about 5GB of memory. The program runs successfully without any memory issues.
More Info
Infer
Infer version v1.1.0-85a54ec3b7
Xcode
Version: 14.2
Device
Mac mini 2018
Mac mini 2020
Hopefully, the Infer development team will resolve this issue soon. Thank you very much.
Hi everyone,
Sample code
Used command
Sample code
The project uses an Objective-C class with block method style. The instance calls these methods chainingly, resulting in 15 chains. However, Infer capture by
xcodebuild
is stuck when compilingInfer.m
which causing continuous memory increase (up to 20 GB and continuously increasing) until the device shuts down.Using the
next
block with 14 chains consumes about 10GB of memory, while using 13 chains consumes about 5GB of memory. The program runs successfully without any memory issues.More Info
Infer
Xcode
Device
Hopefully, the Infer development team will resolve this issue soon. Thank you very much.