Memory leakage with socket benchmark program
Attached benchmark program is similar to the thread-ring benchmark of the language shootout, but in this benchmark threads use UDP messages to communicate. Memory use of the program is stable with GHC-6.8.3/Windows and GHC-6.8.2/Linux but the working set increases about 4K per second when it is compiled with GHC-6.10.1. The number of used threads does not seem to matter.
N.B. Benchmark must be compiled with -threaded on Windows otherwise it will block. Run with "threadring t n" where t is the number of threads and n the number of messages that are passed around.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |