Memory leak with sandbox

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

GlennKenny

  • Posts: 9
  • Joined: Mon Feb 17, 2020 6:59 pm
  • Real Name: Glenn Kenny

Memory leak with sandbox

PostMon Jan 04, 2021 4:16 am

Hi,
When running with Apple Sandbox, I notice what appears to be a memory leak when stopping the input streams.
I'm seeing about 1.4GB of leak in the Apple Activity Monitor when running 4K, or about 500MB when running HD. This does not happen when the application is set to non sandbox mode. This memory is gone even after shutting down the application. The only way to reclaim the lost memory is with a restart of the computer. It is cumulative, so cycling through start streams, stop streams will add to the leak very quickly.

Glenn

Return to Software Developers

Who is online

Users browsing this forum: Bing [Bot] and 32 guests