# Debugging Plugins with "Static Runtime" - Heap memory issues

**URL:** <https://forum.juce.com/t/debugging-plugins-with-static-runtime-heap-memory-issues/13150>\
**Category:** Audio Plugins\
**Created:** [July 9, 2014, 12:26pm UTC](https://forum.juce.com/t/debugging-plugins-with-static-runtime-heap-memory-issues/13150 "2014-07-09T12:26:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [July 9, 2014, 12:26pm UTC](https://forum.juce.com/t/debugging-plugins-with-static-runtime-heap-memory-issues/13150/1 "2014-07-09T12:26:00Z")

</div>

When debugging Plugins with "Static Runtime" i constantly&nbsp; get Heap-issues which appearing&nbsp;while debugging (loading/unloading), they&nbsp;disappear&nbsp;when i use &nbsp;"DLL-runtime" setting. Is this a problem? (VS2012)

HEAP[Cubase7.exe]: HEAP: Free Heap block 0B2AAE40 modified at 0B2AB6A8 after it was freed

Inside&nbsp;

```
void __cdecl _free_base (void * pBlock)
{
        int retval = 0;

        if (pBlock == NULL)
            return;
        RTCCALLBACK(_RTC_Free_hook, (pBlock, 0));
        retval = HeapFree(_crtheap, 0, pBlock);
        if (retval == 0)
        {
            errno = _get_errno_from_oserr(GetLastError());
        }
}
```
