http://bugs.winehq.org/show_bug.cgi?id=12315
--- Comment #6 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-03-31 19:09:03 --- (In reply to comment #5)
Thanks to Jeff, marking this as a duplicate.
I still think that ulimits should be respected though.
*** This bug has been marked as a duplicate of bug 10844 ***
I think you might misunderstand what ulimit is. If you set certain limits, described in the setrlimit linux man page, such as the maximum size of the process's virtual memory, as would happen when using bash's builtin ulimit command, requests for allocation of memory beyond the limit will fail.
It doesn't change the reporting of available memory, it would in most cases lead to the offending process being terminated once it had requested enough memory beyond the set limit.