If I compile a very large file with solc the stack overflows. This will happen most commonly in node because the default stack is only 984kbytes, which is strangely what you would expect for a 1990s era program, except node isn't 1990s.
This is the error you get: not ok 1 RangeError: Maximum call stack size exceeded
It is likely that the the javascript wrapper solc is using has an O(n) stack behavior, e.g. recursive function.