How to limit memory reported to a program?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jbrown

How to limit memory reported to a program?

Post by jbrown »

I'd like to run write.exe (an - I think - old Windows 3.1 application). The problem is: It doesn't run but brings up a message that there isn't enough working memory (out of memory error). Actually, there is too much of it. With Windows itself, I can fix it by adjusting the FileCache entry in the system.ini (see http://support.microsoft.com/?scid=kb;en-us;253912). Unfortunately, this won't work with wine.

Is there a possibilty in wine to give an application less memory to work with? Did anyone succeed in making write.exe run with wine?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to limit memory reported to a program?

Post by vitamin »

jbrown wrote:Is there a possibilty in wine to give an application less memory to work with?
No there isn't one. Please open a bug report in Wine bugzilla. I think it's a time to add something like that.
jbrown

Post by jbrown »

Unfortunately, the bug report (http://bugs.winehq.org/show_bug.cgi?id=19494) is still open.

I'd really like to read my old files with WRITE and wine. Nobody any idea where/how wine tells an application how much memory is available?
jbrown

Post by jbrown »

If anybody could tell me where (which source file) the memory handling is done, I probably could make a patch. The source is too big to just search for it.

(Actually, someone had the same problem before: http://forum.winehq.org/viewtopic.php?t=197)
Locked