[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need a help about linux memory management
Hello world.
We have an issue about kernel memory management.
I'm an Unix administrator, and I try to implement Linux Systems in our
platform. But we have a problem with linux Big memory support.
In fact, some of our tools can allocate 4g of memory.
My linux distribution is Linux redhat 7.3 Professionnal. And the kernel
release is 2.4.18
My script fail at about 2931 Mb
#include <stdio.h>
main()
{
int i;
void *a;
for(i=0; i < 1024*2; i++) {
printf("%d\n", i);
a = (void *) malloc(1024*1024);
if(!a) printf("\nError");
}
}
What should I do to be sure that my kernel support 4g of allocation memory
--
______________________________________________________________
| |
| Vincent AARON META SYSTEMS |
| LP 853 |
| Batiment SIGMA |
| Tel: 33-(0)1 64 86 62 24 3, Avenue du Canada |
| Fax: 33-(0)1 64 86 61 61 91975 COURTABOEUF CEDEX|
| E-Mail: vincent_aaron@mentor.com FRANCE |
|______________________________________________________________|
--
Linux-mm-www: http://linux-mm.org/ website maintenance list
Archive: http://mail.nl.linux.org/linux-mm-www/
Development: linux-mm@kvack.org