What is the memory usage limit on DMD linux?
BCS
ao at pathlink.com
Tue Sep 4 08:35:43 PDT 2007
Reply to Jascha,
> BCS wrote:
>
>> current stats:
>>
>> 14min 14sec compile time
>> ~1070MB memory usage (256 actual memeory)
>> And that's only the 26 productions needed to define expressions!
>>
>> BTW does anyone known of an command line tool that will given me peak
>> memory usage on linux?
>>
> wow - the worst i've seen is 3-5 minutes and <600mb, but only when
> optimizing 10000+ line switch-statements with 800+ cases. without -O,
> optimizing compile times are adequate (<1min).
> did you try compiling with GDC or DMD on windows?
DMD win gives, "symbol name to long my 10K+" errors.
Another thing I noted is that the object file is about 100MB (I'm only creating
about 40 non trivial funtions and about 40-60 trivial ones) and I'm starting
to get link errors. :-b
More information about the Digitalmars-d-learn
mailing list