opentok-ios-sdk-samples-swift icon indicating copy to clipboard operation
opentok-ios-sdk-samples-swift copied to clipboard

Memory Leak in raptor_v2 json methods

Open knightcode opened this issue 2 years ago • 0 comments

Instruments is reporting small memory leaks in json_pack and json_object_set_new_nocheck, e.g. (and not the only stack trace):

Screen Shot 2021-12-28 at 9 10 20 AM

These don't seem to consume more than 10s and 100s of bytes at a time. But, with a 50MB limit for the broadcast extension, we all have to do our jobs perfectly. I'm not sure how often these calls occur, but I imagine as the screen recording goes on, they'll pile up. And I think the paranoia here is somewhat warranted.

knightcode avatar Dec 28 '21 14:12 knightcode