http://bugs.winehq.org/show_bug.cgi?id=19392
--- Comment #7 from 3vi1 winehq.org@eternaldusk.com 2009-08-14 23:14:43 --- Created an attachment (id=23066) --> (http://bugs.winehq.org/attachment.cgi?id=23066) Proposed fix.
Attached is my proposed fix.
add_module and add_memory_block are doubling their memory allocations every single time they are called. They should only be doubling the allocation when the memory they last allocated is full.