Warcraft III (and Diablo 2) Out of Memory error

Anish Mistry mistry.7 at osu.edu
Thu Feb 12 11:03:09 CST 2004


After playing warcraft 3 (same thing with Diablo 2) for a while, the game 
crashes with an Out of Memory error.  I'm unsure as to why it says it is 
out of memory since there still seems to plenty of swap space available.  
It seems to conincide with running out of actual RAM memory, but it's hard 
to be sure.  Has anyone else seen this problem?

-- wine config --
WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;; If you think it is necessary to show others your complete config for a
;; bug report, filter out empty lines and comments with
;; grep -v "^;" ~/.wine/config | grep '.'
;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx"       (Unix path for drive root)
;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 
'network')
;; "Label"="xxx"      (drive label, at most 11 characters)
;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 
'win95'/'vfat', 'unix')
;;   This is the FS Wine is supposed to emulate on a certain
;;   directory structure.
;;   Recommended:
;;   - "win95" for ext2fs, VFAT and FAT32
;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly 
recommended)
;;   DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;
[Drive A]
"Path" = "/home/amistry/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Serial" = "87654321"
"Device" = "/dev/fd0"

[Drive C]
"Path" = "/home/amistry/.wine/fake_windows"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"

[Drive D]
"Path" = "/home/amistry/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/acd0c"

[Drive E]
"Path" = "/home/amistry/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive F]
"Path" = "/home/amistry"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[Drive G]
"Path" = "/home/amistry/windows-share"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"

[Drive H]
"Path" = "/home/amistry/storage"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "e:\\"
"Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\;g:\\Diablo\\ 
II"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"
"ShellLinker" = "wineshelllink"

# [wineconf]

[Version]
; Windows version to imitate 
(win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

[Tweak.Layout]
"WineLook" = "Win98"  # Changes Wine's look and feel

; Be careful here, wrong DllOverrides settings have the potential
; to pretty much kill your setup.
[DllDefaults]
"DefaultLoadOrder" = "native, builtin"
[DllOverrides]
; some dlls you may want to change
; you can specify applications too
;"rpcrt4"       = "builtin, native"
;"oleaut32"     = "builtin, native"
;"ole32"        = "builtin, native"
;"commdlg"      = "builtin, native"
;"comdlg32"     = "builtin, native"
;"ver"          = "builtin, native"
;"version"      = "builtin, native"
;"shell"        = "builtin, native"
;"shell32"      = "builtin, native"
;"shfolder"     = "builtin, native"
;"shlwapi"      = "builtin, native"
;"shdocvw"      = "builtin, native"
;"lzexpand"     = "builtin, native"
;"lz32"         = "builtin, native"
;"comctl32"     = "builtin, native"
;"commctrl"     = "builtin, native"
;"advapi32"     = "builtin, native"
;"crtdll"       = "builtin, native"
;"mpr"          = "builtin, native"
;"winspool.drv" = "builtin, native"
;"ddraw"        = "builtin, native"
;"dinput"       = "builtin, native"
;"dsound"       = "builtin, native"
;"opengl32"     = "builtin, native"
;"msvcrt"       = "native, builtin"
;"msvideo"      = "builtin, native"
;"msvfw32"      = "builtin, native"
;"mcicda.drv"   = "builtin, native"
;"mciseq.drv"   = "builtin, native"
;"mciwave.drv"  = "builtin, native"
;"mciavi.drv"   = "native, builtin"
;"mcianim.drv"  = "native, builtin"
;"msacm.drv"    = "builtin, native"
;"msacm"        = "builtin, native"
;"msacm32"      = "builtin, native"
;"midimap.drv"  = "builtin, native"
; you can specify programs too
;"notepad.exe"  = "native, builtin"
; default for all other dlls
"*" = "builtin, native"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
;"PrivateColorMap" = "Y"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
"Desktop" = "1024x768"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "N"
; Use XShm extension if present
;"UseXShm" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use the take focus protocol
"UseTakeFocus" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "Y"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;"Synchronous" = "Y"
;
; Use the Render extension to render client side fonts (default "Y")
"ClientSideWithRender" = "Y"
; Fallback on X core requests to render client side fonts (default "Y")
"ClientSideWithCore" = "Y"
; Set both of the previous two to "N" in order to force X11 server side 
fonts
;
; Anti-alias fonts if using the Render extension (default "Y")
"ClientSideAntiAliasWithRender" = "Y"
; Anti-alias fonts if using core requests fallback (default "Y")
"ClientSideAntiAliasWithCore" = "Y"
;

[fonts]
;Read the Fonts topic in the Wine User Guide before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

; the TrueType font dirs you want to make accessible to wine
[FontDirs]
;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
;"dir2" = "/usr/share/fonts/truetype"
;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
;"dir4" = "/usr/share/fonts/TT"

[serialports]
"Com1" = "/dev/ttyd0"
"Com2" = "/dev/ttyd1"
"Com3" = "/dev/ttyd2"
"Com4" = "/dev/modem"

[parallelports]
"Lpt1" = "/dev/lpt0"

[ppdev]
;; key:  io-base of the emulated port
;; value : parport-device{,timeout}
;; timeout for auto closing an open device ( not yet implemented)
;"378" = "/dev/parport0"
;"278" = "/dev/parport1"
;"3bc" = "/dev/parport2"

[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read"  = "0x779,0x379,0x280-0x2a0"
;"write" = "0x779,0x379,0x280-0x2a0"

[Debug]
;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"RelayInclude" = "user32.CreateWindowA"
;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"SpyExclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Where to find the global registries
;"GlobalRegistryDir" = "/etc";
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
;; this has *nothing* to do with the windows version Wine returns:
;; set the "Windows" value in the [Version] section if you want that.
"WineLook" = "Win98"

[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files
[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[WinMM]
;"Drivers" = "winearts.drv"
;"Drivers" = "winejack.drv"
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[wineoss]
"UseMMap" = "Y"
"FullDuplex" = "Y"

[dsound]
;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
;"HELmargin" = "5"
;; HEL only: Number of waveOut fragments ahead to queue to driver.
;"HELqueue" = "5"
;; Max number of fragments to prebuffer
;"SndQueueMax" = "28"
;; Min number of fragments to prebuffer
;"SndQueueMin" = "12"

[Network]
;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, 
default "Y").
;; Set to N if you need a persistent NetBIOS ComputerName that possibly 
differs
;; from the Unix host name. You'll need to set ComputerName in
;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName
\ComputerName, too.
"UseDnsComputerName" = "Y"

;; sample AppDefaults entries

; 3 InstallShield versions who like to put their full screen window in 
front,
; without any chance to switch to another X11 application.
; So just catch them in a desktop window.

[AppDefaults\\_INS5576._MP\\x11drv]
;"Desktop" = "640x480"

[AppDefaults\\setup.exe\\x11drv]
"Managed" = "N"
"Desktop" = "N"

[AppDefaults\\_INS5176._MP\\x11drv]
;"Desktop" = "640x480"

[AppDefaults\\_INS0466._MP\\x11drv]
;"Desktop" = "640x480"

[AppDefaults\\lancraft.exe\\x11drv]
;"Desktop" = "640x480"
[AppDefaults\\War3.exe\\x11drv]
"Desktop" = "1024x768"
# [/wineconf]


-- dmesg --

FreeBSD  4.9-RELEASE FreeBSD 4.9-RELEASE #81: Thu Oct 30 22:18:23 EST 
2003     /usr/src/sys/compile/BIGGUY  i386
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) processor (1333.39-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x644  Stepping = 4
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 402587648 (393152K bytes)
avail memory = 385818624 (376776K bytes)
Preloaded elf kernel "kernel" at 0xc0578000.
Preloaded elf module "linux.ko" at 0xc057809c.
Preloaded elf module "snd_csa.ko" at 0xc057813c.
Preloaded elf module "snd_pcm.ko" at 0xc05781dc.
Preloaded elf module "nvidia.ko" at 0xc057827c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fdf00
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce2 MX/MX 400> mem 
0xe0000000-0xe7ffffff,0xec000000-0xecffffff irq 11 at device 0.0 on pci1
bktr0: <BrookTree 878> mem 0xef101000-0xef101fff irq 11 at device 8.0 on 
pci0
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
iicbus1: <Philips I2C bus> on iicbb0 master-only
iicsmb1: <I2C to SMB bridge> on iicbus1
smbus1: <System Management Bus> on iicsmb1
smb1: <SMBus general purpose I/O> on smbus1
iic1: <I2C general purpose I/O> on iicbus1
smbus2: <System Management Bus> on bti2c0
smb2: <SMBus general purpose I/O> on smbus2
bktr0: Warning - card vendor 0x1002 (model 0x0003) unknown.
bktr0: Pinnacle/Miro TV, Temic NTSC tuner.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 8.1 irq 11
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 
0xef000000-0xef0fffff,0xef100000-0xef100fff irq 5 at device 9.0 on pci0
csa: card is Hercules Game Theatre XP
pcm0: <CS461x PCM Audio> on csa0
pcm0: <Unknown AC97 Codec (id = 0x4352592d)>
dc0: <LC82C115 PNIC II 10/100BaseTX> port 0xd000-0xd0ff mem 
0xef102000-0xef1020ff irq 10 at device 10.0 on pci0
dc0: Ethernet address: 00:00:94:b6:42:bc
miibus0: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus0
dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
viapropm0: SMBus I/O base at 0x5000
viapropm0: <VIA VT8233 Power Management Unit> port 0x5000-0x500f at device 
17.0 on pci0
viapropm0: SMBus revision code 0x0
smb3: <SMBus general purpose I/O> on smbus3
atapci0: <VIA 8233 ATA100 controller> port 0xd400-0xd40f at device 17.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 3 at device 17.2 
on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
uhub1: 4 ports with 4 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 3 at device 17.3 
on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 3 at device 17.4 
on pci0
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x1106, dev=0x3059) at 17.5 irq 10
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xcc7ff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 920C> MLC,PCL,PML
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ad0: 38166MB <WDC WD400AB-00CMB0> [77545/16/63] at ata0-master UDMA100
ad1: 9541MB <WDC WD100BA> [19386/16/63] at ata0-slave UDMA66
acd0: CDROM <SAMSUNG CD-ROM SC-152L> at ata1-master WDMA2
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <SAMSUNG CD-ROM SC-152L C100> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present



-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://www.winehq.org/pipermail/wine-users/attachments/20040212/c5e89be5/attachment.pgp


More information about the wine-users mailing list