eksopl/fuuka — Issue #18: Check out why the dumper is so memory hungry
Author: eksopl
Created: 2012-02-23 08:09:29+00:00
State: open
Labels: Defect, Dumper

The dumper is sightly too memory hungry. As I first looked at dumper code, the obvious reason was because the dumper keeps all 150 live threads, with all of its posts in memory, but a first attempt at writing code to purge those seems shave no more than 10% of memory.

Since Perl threads aren't lightweight by design, the other possible reason might be that there's just too many modules and other constant data structures that are loaded with each thread, and this issue might be unfixable without rewriting the dumper in another language.