http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #10 from Rein Klazes wijn@online.nl 2009-05-08 04:45:35 --- (In reply to comment #7)
I have installed PhotoShop3 and can confirm the bug. Hacking the function above to return 512, 1024, 1536, 1792 MB lets the program run.
What field do you limit that makes the app run? Wine already limits values returned by GlobalMemoryStatus() to 2Gb for apps that don't expect that.
I hard coded the dwTotalPhys field. With 2GB (or 2GB -1 if you want) it comes with the memory error. The app is interested (with windbg) in that field and the dwTotalPageFile field. I could not follow how the program (wrongly) calculated that it had a low memory problem.