Post

Replies

Boosts

Views

Activity

Reply to Rendering Core Image to MTLTexture causes huge memory use
Thanks for the comment! The texture seems to be released properly via Automatic Reference Counting. Setting the command buffer to nil does seem to fix the memory problem!! 😊🎉 So I guess the command buffer is holding onto the references filling up the memory with a heap of intermediate render values. Is there any way to tell the command buffer to release these or is setting to nil the best solution to go for?
Jan ’22