Insane memory usage in vector
This test case can easily grow the heap to fill my entire 8GB physical addressing space with both ghc 7.0.3 and ghc 7.4.1. This despite the fact that the original vectors themselves are only 8MB in size and only supposedly non-copying calls are being made. Commenting out either of the prints at the end returns things to sanity. I'm unsure of whether this should be
Presumably the case could be simplified a bit, but this was my first cut at paring it down.
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |