Hi
I am running a program on Windows PC with 8GB RAM,64bit intel processor,windo ws7 64 bit OS.
i use calloc for memory allocation,and is compiled in Microsoft Express edition version 8
My program requires around 6-7 GB of memory allocation of of the 8GB RAM,but after memory allocation of around 1.9GB, calloc returns NULL pointer.
The "Available physical memory is 7.86GB" of the 8GB RAM(displayed in System information)
Hence my question is,why the program is NOT able to allocate memory,even when another 5GB of physical memory is available in the RAM,after memory allocation of around 1.9GB.
Can u guys please tell me,whats probably going wrong,and how i can correct it
thanks in advance for help
I am running a program on Windows PC with 8GB RAM,64bit intel processor,windo ws7 64 bit OS.
i use calloc for memory allocation,and is compiled in Microsoft Express edition version 8
My program requires around 6-7 GB of memory allocation of of the 8GB RAM,but after memory allocation of around 1.9GB, calloc returns NULL pointer.
The "Available physical memory is 7.86GB" of the 8GB RAM(displayed in System information)
Hence my question is,why the program is NOT able to allocate memory,even when another 5GB of physical memory is available in the RAM,after memory allocation of around 1.9GB.
Can u guys please tell me,whats probably going wrong,and how i can correct it
thanks in advance for help
Comment