https://bugs.winehq.org/show_bug.cgi?id=35563
--- Comment #14 from super_man@post.com --- (In reply to Andrew Church from comment #4)
Created attachment 47524 [details] 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.
It seems to me that they have mac specific function for VM_COUNTERS already included
http://source.winehq.org/git/wine.git/blob/6bc0ce26a853b51f11958545bfa5570bd...
117 #if defined(HAVE_MACH_MACH_H) 118 119 static void fill_VM_COUNTERS(VM_COUNTERS* pvmi) 120 {