SpriteKit SKView showsFields memory usage

前端 未结 1 2012
忘掉有多难
忘掉有多难 2021-02-19 19:08

I am curious about when showsFields is turned on, the memory usage increase extremely fast? It can growth up to 500MB under 30 seconds. If my mac only have 8GB of R

相关标签:
1条回答
  • 2021-02-19 20:09

    It looks like the debug image drawn per frame is not being cleared up properly which, is probably leading to this memory leak.

    Best will to file a bug report with Apple via https://developer.apple.com/bug-reporting/ so they know multiple people are having this issue and can hopefully give a higher priority.

    Hope that helps.

    Kind regards, Mukund

    0 讨论(0)
提交回复
热议问题