[Bug 12315] New: Shiny's Sacrifice (Demo): Too much swap / ulimit problem
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Mar 31 17:05:31 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=12315
Summary: Shiny's Sacrifice (Demo): Too much swap / ulimit problem
Product: Wine
Version: 0.9.58.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: loader
AssignedTo: wine-bugs at winehq.org
ReportedBy: liquid.acid at gmx.net
Hi there,
I wanted to make some D3D/DDraw tests with the demo version of Shiny's
Sacrifice on a system where I don't have root access.
The problem is that the system has 512MB physical memory installed and 8GB of
swap configured. This is too much for Sacrifice and seems to trigger an (32bit
?) integer overflow.
The error message from Sacrifice is:
"Insufficient pagefile space. Please ensure that virtual memory is enabled and
that you have more than 128MB of disk space free on your pagefile drive before
running Sacrifice."
I did a search on Google for that problem and it also appears on Windows if the
system has a large amount of memory (or swap) installed, that triggers the
overflow.
So I was going to use ulimit -v to restrict memory usage by wine, but that does
not seem to work:
user at yui09:~/.wine/drive_c/Program Files/Shiny/Sacrifice Demo$ wine
"Sacrifice.exe"
preloader: Warning: failed to reserve range 00000000-60000000
wine: failed to initialize: /homes/user/local//lib/wine/ntdll.dll.so: failed to
map segment from shared object: Cannot allocate memory
I have tried values for ulimit -v of 64MB, 128MB, 256MB and up to 2GB. Always
the same problem with the preloader and the failed initialization.
Wine doesn't seem to respect the limits set by ulimit. I would really like to
make some tests on this system. Maybe someone can take a look at this ulimit
problem?
Greetings from Germany,
Tobias Jakobi
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list