Try to wrap the content of the procQueue.async closure in an autoreleasepool. The queue has got it's own autoreleasepool that don't always drain after each closure is executed probably.
Topic:
Programming Languages
SubTopic:
Swift
Tags: