<p>Unfortunately its not possible to track allocations related to one file, its not even possible to track all allocations since Geany uses g_malloc (IIUC you can track this, see Glib docs), libraries use libc malloc and Scintilla uses C++ new.</p>

<p>This sort of question is better asked on the mailing list, it is not an issue.  Will close and you can ask any follow up questions there.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/682#issuecomment-146690281">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwWe89hNxzFX-mVdQs3Iel23_fKyks5o5tahgaJpZM4GLajq.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/682#issuecomment-146690281"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>