memory limit?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've got a simple (32bit) windows application (compiled in Borland c++
builder):

int *p;
while(1) {
    p = new int[10000000]; //allocates 40 MB of memory
}

on Windows XP it crashes after 50 iterations (i.e. 2 GB allocated)

but on wine it crashes after 30 iterations (1200 MB allocated)

is it impossible to use 2gb of memory in wine? why only 1.2GB is
available?

I've got wine 0.9.13, linux 2.4 (2.6 doesn't make any difference),
2.5GB of physical RAM and 4GB of swap.

-- 
Bartek

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux