Program requires at least 3MB of free virtual memory to run

Questions about Wine on Linux
Locked
matt87075
Level 1
Level 1
Posts: 5
Joined: Sun Apr 01, 2018 3:48 pm

Program requires at least 3MB of free virtual memory to run

Post by matt87075 »

I get this error dialog box when running the game Nine The last Resort after installation.

Dialog Title: "Director Player 5.0"
Message: "This program requires at least 3MB of free virtual memory to run"

Any idea?

Config:
Ubuntu 16.04
wine-3.0
quick time installed with winetricks
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Program requires at least 3MB of free virtual memory to

Post by Bob Wya »

@matt87075

If it's an old application these can often wrap large, more modern, storage values around.
Ending up with near 0 bytes (free RAM, disk space, etc.)!

Try using a clean 32-bit Wineprefix and setting this to Windows 98 compatibility.
See: WineHQ FAQ: 6.5.3 How do I create a 32 bit wineprefix on a 64 bit system?

9: The Last Resort is a very old game after all!

Don't just assume you need any winetricks overrides or native utilities...
You may not need to install the native quicktime player - in fact this is more likely to break things... :roll:

You may also be missing some 32-bit GStreamer plugins...

So please can you post the Wine terminal output - if the game still fails to run.
See: WineHQ FAQ: 10.1.1 How can I get a debugging log (a.k.a. terminal output)?

Please use the forum Code:

Code: Select all

I AM CODE
tags when posting terminal commands or output logs!!

Please re-test using the development version of Wine - which is currently version 3.5.
See: WineHQ Download: Ubuntu.

Thanks
Bob
matt87075
Level 1
Level 1
Posts: 5
Joined: Sun Apr 01, 2018 3:48 pm

Re: Program requires at least 3MB of free virtual memory to

Post by matt87075 »

Thanks for your help Bob.
I did a clean install with wine 3.0 and setup wine as Win98. When I launch the app I get the same error message as in the original post and there is no console output.:

Code: Select all

hippo@hippo-camp:~$ cd ~/.wine32clean
hippo@hippo-camp:~/.wine32clean$ cd drive_c/Nine/
hippo@hippo-camp:~/.wine32clean/drive_c/Nine$ wine Nine_95.exe
hippo@hippo-camp:~/.wine32clean/drive_c/Nine$ wine Nine_95.exe &>log.txt
hippo@hippo-camp:~/.wine32clean/drive_c/Nine$ cat log.txt
hippo@hippo-camp:~/.wine32clean/drive_c/Nine$
Same result with wine as a win95 (the game could be named nine_95 for a reason... :)).

I generated a 25MB log file by using WINEDEBUG=+relay,+seh,+tid wine your_program.exe >> /tmp/output.txt 2>&1
but am not sure it is helpfull so I keep it for myself atm. I'll report back after testing in 3.5.
matt87075
Level 1
Level 1
Posts: 5
Joined: Sun Apr 01, 2018 3:48 pm

Re: Program requires at least 3MB of free virtual memory to

Post by matt87075 »

I also ran this in wine-3.5, same result.

Winedebug is a lot more chatty but I don't know which flags would help in that case.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Program requires at least 3MB of free virtual memory to

Post by Bob Wya »

matt87075 wrote:...
I generated a 25MB log file by using

Code: Select all

WINEDEBUG=+relay,+seh,+tid wine your_program.exe >> /tmp/output.txt 2>&1

but am not sure it is helpfull so I keep it for myself atm. I'll report back after testing in 3.5.
Well it's definitely not going to be very helpful - if nobody sees your log file!
I'd suggested filing a WineHQ Bug report.
Because the Bugzilla has a 5 Mbyte attachment limit.

Code: Select all

xz -9 -e output.txt
Should sort out your log file size!

Please attach the compressed log from running your application with Wine Development 3.5.

Ideally WineHQ Bug reports are linked to their respective "problematic" Windows application - on the WineHQ AppDB.
It would therefore be helpful if you submitted a new application - nine 95 - for the WineHQ AppDB.
This would involve doing a basic test - of the applications functionality - when run under Wine.
Just for the love all things holy - don't say stuff like: "everything works" or "nothing works"!
The test results are supposed to be meaningful to other users of Wine - perusing the WineHQ AppDB!

I can "fast track" your application - when I see it come up in the WineHQ AppDB application queue.

Thanks
Bob
matt87075
Level 1
Level 1
Posts: 5
Joined: Sun Apr 01, 2018 3:48 pm

Re: Program requires at least 3MB of free virtual memory to

Post by matt87075 »

App created in appDB.
Name is
Nine: The last resort
I'll report the bug and post the trace when you have approved the app.

Thanks for your help.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Program requires at least 3MB of free virtual memory to

Post by Bob Wya »

matt87075 wrote:...
I'll report the bug and post the trace when you have approved the app.

Thanks for your help.
No worries... Post a link here - when you've submitted a bug report. 8)

Thanks
Bob
matt87075
Level 1
Level 1
Posts: 5
Joined: Sun Apr 01, 2018 3:48 pm

Re: Program requires at least 3MB of free virtual memory to

Post by matt87075 »

Bug report registered with the log:
https://bugs.winehq.org/show_bug.cgi?id=44931
Pagey
Newbie
Newbie
Posts: 1
Joined: Sun May 03, 2020 7:58 pm

Re: Program requires at least 3MB of free virtual memory to run

Post by Pagey »

I know this is an old post but I just came across this and have a simple fix that will fix it for all Director type games.
I came across this issue on a real windows machine about 20 years ago and found that as long as the minimum virtual page size started with a 3 the program was happy. The program saw 200mb was smaller than 30mb.

This is the registry location that has to be changed

HKEY_LOCAL_MACHINE > System > CurrentControlSet > Control > Session Manager > Memory Management

Set PagingFiles to something like C:\pagefile.sys 30 77

The original minimum amount was 20 or 25. I cant remember since I have already fixed mine.

This will fix the issue for all Director games that have this issue
Locked