
Dear Joey, strange observation... for more eyes looking at it, I’m replying with full-quote to the GHC mailing list as well. (That list is subscriber-only, AFAIK, in case you want to follow up there). Am Mittwoch, den 01.06.2011, 19:09 -0400 schrieb Joey Hess:
I've noticed this problem with ld process size recently while doing edit-compile-debug development cycles with git-annex on unstable.
Normally, ld runs in seconds, using maybe 170 mb or memory according to top, but I suspect real memory is somewhat less.
Sometimes I get into a state where every link takes minutes, and apparently uses somewhat more memory and typically triggers the OOM killer.
Whenever this happens, I have to `make clean; make` and then it seems back to normal.
The build is being driven by ghc --make. And the best way to trigger it seems to be to make changes to types, or other changes to core modules that cause a fan-out effect where ghc needs to rebuild lots of other modules.
Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata