[Mono-dev] xbuild leaking?

David Evans devans at pacificbiosciences.com
Mon Nov 23 18:33:13 UTC 2015

Hi all,

We're using xbuild for a fairly large project now on linux with We're noticing that the peak memory usage for the build seems to scale surprisingly fast with the total number of project references across the solution, as opposed to other measures. This isn't a big deal for us until we run out of physical memory and start swapping during the compile.

My guess: xbuild is hanging onto symbol tables for all project references - even those for projects has finished building - until the whole build is complete. We haven't noticed the same behavior building with Xamarin.

Does this ring a bell for anyone? I'd love to test out my theory and dig into that code (in particular how reference symbol tables are cached) but I wanted to check with folks here to see if this behavior might be intentional for some reason or if there is any known history about it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20151123/b85e47b6/attachment.html>

More information about the Mono-devel-list mailing list