According to this article, I embed my render loop within an autorelease pool block. But I found there is still a memory issue with XCode instruments as shown below.
Why are there still memory leaks when embedded within the autorelease pool block? And how to fix it?
EDIT Not memory leak in iOS, but mac has.