The Debug Navigator (the mini profiler) of Xcode 7.1 shows a linear growth of memory usage of the JUCE Demo. This appears to be new.

Without touching the Demo, i.e. staying on the Welcome tab, the memory usage raises from 20.4MB to 48.8MB within 3 minutes.
Since I'm not a profiling-ninja I report this here.
The Apple Instruments leak analyser doesn't detect any leaks.
This is the most I could extract from the Instruments (All Heap & Anonymous VM -> Call Trees):
Bytes Used Count Symbol Name
6.91 MB 99.5% 1753 start
6.91 MB 99.5% 1753 main
6.91 MB 99.5% 1753 juce::JUCEApplicationBase::main(int, char const**)
6.91 MB 99.5% 1753 juce::JUCEApplicationBase::main()
6.91 MB 99.5% 1753 juce::MessageManager::runDispatchLoop()
6.91 MB 99.5% 1753 -[NSApplication run]
6.91 MB 99.5% 1753 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
6.91 MB 99.5% 1752 _DPSNextEvent
6.91 MB 99.5% 1752 _BlockUntilNextEventMatchingListInModeWithFilter
6.91 MB 99.5% 1752 ReceiveNextEventCommon
6.91 MB 99.5% 1752 RunCurrentEventLoopInMode
6.91 MB 99.5% 1752 CFRunLoopRunSpecific
6.91 MB 99.5% 1732 __CFRunLoopDoObservers
6.91 MB 99.5% 1732 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
6.91 MB 99.5% 1732 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*)
6.91 MB 99.5% 1732 CA::Transaction::commit()
6.91 MB 99.5% 1732 CA::Context::commit_transaction(CA::Transaction*)
6.76 MB 97.4% 148 _dispatch_async_f_slow
6.75 MB 97.3% 13 _dispatch_introspection_queue_item_enqueue_hook
6.75 MB 97.3% 13 gcd_queue_item_enqueue_hook
6.75 MB 97.3% 13 get_entry_from_free_list
6.75 MB 97.3% 13 mach_vm_allocate
8.44 KB 0.1% 135 _dispatch_continuation_alloc_from_heap
125.11 KB 1.7% 1531 CA::Transaction::run_commit_handlers(CATransactionPhase)
21.05 KB 0.2% 41 CA::Layer::layout_and_display_if_needed(CA::Transaction*)
4.91 KB 0.0% 12 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*)
1.69 KB 0.0% 19 __CFRunLoopRun
16 Bytes 0.0% 1 malloc_zone_malloc
160 Bytes 0.0% 1 +[NSObject allocWithZone:]
28.78 KB 0.4% 20 start_wqthread
1.12 KB 0.0% 9 thread_start
Ok, memory allocation in the juce::MessageManager::runDispatchLoop()...
Specs:
JUCE commit 4b4d216, October 28 2015,
OS X 10.11.1, Xcode 7.1
Worth mentioning: This doesn't happen when profiling in VisualStudio 2013 under Windows 8.
Might be an issue introduced by Apple with Xcode 7.1.
Or is it caused by some ground work for the upcoming Projucer?
Cheers,
Samuel
