[phobos] FreeBSD 32 still fails unittests for std.datetime

Walter Bright walter at digitalmars.com
Mon May 2 21:18:00 PDT 2011



On 5/2/2011 1:14 PM, Jonathan M Davis wrote:
>
> The problem is far worse on Windows than on Linux - both in terms of the
> amount of memory eaten by dmd and because the Windows unit tests are all
> compiled together instead of separately, but dmd still eats too much memory on
> OSes other than Windows. FreeBSD would have the unit tests compiled separately
> like on Linux, so dmd shouldn't be running out of memory in the same way as
> occurs on Windows, but it could still be using a lot of memory, and if
> Walter's machine doesn't have a lot of it, and if FreeBSD tries to kill
> processes that use too much, then that could be the problem. On Windows, it
> very clearly states that dmd ran out of memory, but if the OS just kills the
> process, then you might not get such a clear message.
>
> I've been hoping that Don's CTFE fixes would reduce dmd's memory footprint
> enough to get rid of issue 5454, but since they're buggy enough that Phobos'
> unit tests don't currently build, I have no idea how close they've gotten to
> fixing the problem.
>

On FreeBSD it's getting a "Killed: 9" message while running dmd after running 
for a looong time. Running under gdb shows it dying somewhere deep in malloc().


More information about the phobos mailing list