Bogus out of memory error with -H and -M
I've been noticing that -H and/or -M sometimes lead to odd out-of-memory errors (which is a little disappointing because when you have a memory intensive program they can be helpful in tuning performance and footprint).
Here's a repeatable testcase. Compile and run the attached program with -H1.5G and -M1.5G. It will crash with an out-of-memory error even though if you run it without those flags I can't really measure much memory usage at all (via top or time).
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |