search for: q125691

Displaying 1 result from an estimated 1 matches for "q125691".

2008 Jul 21
3
Wine memory limitation for malloc?
Why win32 application under Wine can allocate only 2000 MB of memory, but same programm translated by gcc can get 3800 MB. (OS/Compilers - WinXP/Visual C 6.0 32 bit, and openSUSE 11 x64/gcc -m32) #include <stdlib.h> #include <stdio.h> #include <time.h> main(int argc, char **argv) {unsigned long n,m,i; int *p,*p1,*p2,*p3; clock_t time1,time2; i=4095; if (argc == 2) i = (size_t)