Upper Memory

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Dangbert
Level 2
Level 2
Posts: 10
Joined: Sat Oct 29, 2011 8:30 am

Upper Memory

Post by Dangbert »

I am a tad tardy asking this question, but better late than never.

Back about two to three years ago, an updated version of Wine (no I do not know the version number) and all of a sudden a program I had been running under Wine for years no longer worked. When I try to run the program now, the error message was/is "not enough space for environment."

I assume that means that something in the "Upper Memory" was changed. That either the size of the Upper Memory, or the way it is reported changed.

My question, is there any way (Wine used to be much more configurable than it is now) to either configure or set the Upper Memory size?

Thanks

Deb
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Upper Memory

Post by dimesio »

Dangbert wrote: Back about two to three years ago, an updated version of Wine (no I do not know the version number) and all of a sudden a program I had been running under Wine for years no longer worked. When I try to run the program now, the error message was/is "not enough space for environment."
Exactly what version of Wine are you using? The only bug report I can find that mentions that error message was closed as fixed six years ago. http://bugs.winehq.org/show_bug.cgi?id=1406
Dangbert
Level 2
Level 2
Posts: 10
Joined: Sat Oct 29, 2011 8:30 am

Post by Dangbert »

I had this same problem about then. Then for several releases everything was fine. Then it popped up again and has been there for the last several.

My current version, pulled down off the PCLinuxOS repository, is 1.2.2


thanks

Deb
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Dangbert wrote:My current version, pulled down off the PCLinuxOS repository, is 1.2.2
This is very old version. Please upgrade to the latest development version wine-1.3.31 and try again.
Dangbert
Level 2
Level 2
Posts: 10
Joined: Sat Oct 29, 2011 8:30 am

Post by Dangbert »

Excuse me, but your latest STABLE is Version 1.2.3.

While I could compile the source for 1.3.3, there being no PCLinuxOS precompiled version, I really an not comfortable putting that on my system and possibly having to pull it off. I could do it, but do not want the bother.

Deb
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Dangbert wrote:Excuse me, but your latest STABLE is Version 1.2.3.
And that version is a year old, and you'd still be told to try the latest development release if you were using it. The point is to find out if the problem you're seeing now has been fixed or not.
While I could compile the source for 1.3.3, there being no PCLinuxOS precompiled version, I really an not comfortable putting that on my system and possibly having to pull it off.
The latest development release is 1.3.31. You don't have to install the Wine you compile; it can be run from the build directory without uninstalling what you have.
Dangbert
Level 2
Level 2
Posts: 10
Joined: Sat Oct 29, 2011 8:30 am

Post by Dangbert »

The reason I am hesitant is I have done the compile and install several and messed up more than one install by getting something wrong or not having all the right dependencies.

I'll give it a shot.

Thanks for the tip

Deb
Dangbert
Level 2
Level 2
Posts: 10
Joined: Sat Oct 29, 2011 8:30 am

Post by Dangbert »

Lets call it quits. I started running into dependency problems and that is not somewhere I want to go. I have the program running on my "gaming" machine (its about all Windows is good for) and so can use it if needs be. I will wait for the repository to update, which may be awhile as a lot of effort is being poured into getting the 64bit version of PCLinusOS out the door.

Thanks for the help

Deb
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Upper Memory

Post by vitamin »

Dangbert wrote:When I try to run the program now, the error message was/is "not enough space for environment."
There might be a workaround. Run your program this way:

Code: Select all

cd ~/.wine/drive_c/path_to_program
env - wine program.exe
This should remove all *NIX environment which mostly useless for Wine.
Dangbert
Level 2
Level 2
Posts: 10
Joined: Sat Oct 29, 2011 8:30 am

Post by Dangbert »

Thanks for the work around. Unfortunately, it did not solve the problem. I ran "env" twice and both failed. The results are below. The second time I left the "-" out.

Deb

~~~~~~~~~~~~~~~

[deb@localhost Documents]$ cd /home/deb/.wine/drive_c/Bible/SMW
[deb@localhost SMW]$ env - wine smw.ext
wine: cannot find L"C:\\windows\\system32\\smw.ext"
[deb@localhost SMW]$ - /home/deb/.local/share
- /usr/local/share/
- /usr/share/


[deb@localhost SMW]$ dir
CLEANCM2.EXE HELP.2 OLB2SM.EXE README.TXT SMW.GID
CLEANCOM.DOC HELP.NDX OLB_HEB.TTF REG_FORM.DOC SMW.HLP
CLEANCOM.EXE INSTALL.EXE OLB_HEB.TXT REGISTER.DOC SMWHOOK.DLL
COMMENT.NDX LEX.NDX OLB_READ.ME RWP.DAT SMW.lnk
COMMENT.SMC LHA.DOC OLBWORDS.DOC RWP.NDX UTOPICS.DAT
DISTRIB.DOC LHA.EXE OLBWORDS.EXE SETUPSMW.EXE UTOPICS.NDX
FILESW.LZH LHA.PIF OPTIONSW.DAT SM23OLB.ASP VENDOR.DOC
GENINSTR.DOC MODE.SMI PCBAWIN.LOC SM.EXE WINFO.SMI
HELP.1 OLB2SM.DOC README.CD SMW.EXE WINSTALL.EXE
[deb@localhost SMW]$ env wine smw.exe
Could not parse file '/home/deb/.local/share/applications/PulpitCommentary.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/Terminal-2.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/PulseAudio.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/Neverwinter Nights.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/Heroes III.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/BCS.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/RR Tycoon II.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/MasterChristianLIbrary8.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/Xterm.desktop': Invalid key name: Path[$e]
Could not parse file '/home/deb/.local/share/applications/Bible Illustrator.desktop': Invalid key name: Path[$e]
err:local:LOCAL_GetBlock not enough space in local heap 127f for 4716 bytes
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Dangbert wrote:[deb@localhost SMW]$ env - wine smw.ext
smw.exe not smw.ext
Dangbert
Level 2
Level 2
Posts: 10
Joined: Sat Oct 29, 2011 8:30 am

Post by Dangbert »

Weeeellllllll, all I can say is, "Me and my fat fingers." I reran the command, with the proper suffix, and got this error message.

Deb

~~~~~~~~~~~~~~~~~~~~~~~~

[deb@localhost SMW]$ env - wine smw.exe
- /home/deb/.local/share
- /usr/local/share/
- /usr/share/

Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
[deb@localhost SMW]$
User avatar
Beckingham
Newbie
Newbie
Posts: 1
Joined: Thu Nov 03, 2011 5:34 am

Post by Beckingham »

i guess your systems' memory may have been affected. try reinstalling the windows or program.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Dangbert wrote:Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Oops, forgot about this one. Try this:

Code: Select all

env - DISPLAY=:0 HOME=$HOME wine smw.exe
Dangbert
Level 2
Level 2
Posts: 10
Joined: Sat Oct 29, 2011 8:30 am

Solved

Post by Dangbert »

Vitamin, sorry for the delay in responding. For one thing, I though I had.

The, "
env - DISPLAY=:0 HOME=$HOME wine smw.exe

fixed the problem - thanks

Deb
Locked