http://bugs.winehq.org/show_bug.cgi?id=35563
--- Comment #4 from Andrew Church achurch+wine@achurch.org --- Created attachment 47524 --> http://bugs.winehq.org/attachment.cgi?id=47524 procmeminfo.diff
The library isn't publicly available, but I found a few spare cycles and wrote a patch that fixes the bug (as well as bug 5657) on Linux. I don't know how you feel about having platform-dependent code there, but it's a proof of concept, at least.