Wine crashes saying 32GB data segment limit is not enough

Hello,

I'm using 13.2-RELEASE, and I'm trying to run an old (1996) Windows program in Wine. I'm installing it from CD. During installation, Wine crashes with the following error message:

Code:
Data segment size exceeds process limit

ulimit -d shows that my process limit is 33554432 kilobytes, that's 32GB. I find it difficult to believe this is not enough for a program from 1996. Is this another bug in Wine?

I was trying to set the limit to unlimited with ulimit -H -d unlimited as root, just to see what happens, but it didn't change the value. Can anyone advise what to do?
 
My money is on a wine bug.

I can run 1990s programs in wine with the same `ulimit -d`. Can you run other programs than the intended target program?
 
Wild guess: due to (artificial) restrictions in Windows at that time regarding memory size, software wasn't meant to be able to handle "huge" amounts of memory - i.e. anything above ~4GB (or even less). Maybe that program uses e.g. a 32bit integer when evaluating memory size at start, which would overflow with anything >4GB.
TLDR: Instead of trying ulimit -d unlimited I'd try something like ulimit -d <value <4GB> (or even below 2GB)
 
I remember Windows 98 used to have issues above 1GB RAM or perhaps even 768MB, this may be true for some software too.
 
In 96 32MB would be a huge amount of ram. So 32GB is insane.

Edit: I've just realized I've misread the title...I'll just be walking away then ..good day all.
 
Back
Top