Ticket #2785 (closed bug: invalid)
Memory leakage with socket benchmark program
|Reported by:||felixmar||Owned by:||simonmar|
|Type of failure:||Runtime performance bug||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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.