From: Vincent van Ravesteijn Date: Fri, 08 Jun 2012 18:23:44 GMT Subject: [BUG] Out of memory on git log --simplify-by-decoration --first-parent Message-ID: <4FD24330.2030805@lyx.org> git dies after calling the following command on the git repo: $ git log f623ca1c...b9cfa4e9 --simplify-by-decoration --first-parent This happens in simplify_merges () in revision.c. The list below shows the number of times the "while (list) { ..}" block is executed until git dies: 1475 3544 8274 19588 45689 106077 245329 565153 1269244 2614903 5871845 13138892 fatal: Out of memory, malloc failed (tried to allocate 8 bytes) Verified with msysgit and on Ubuntu Linux. Vincent