memory available to a process

From: Jaleel Ahmed (jaleelahmed@yahoo.com)
Date: Wed Jun 26 2002 - 08:08:44 EDT


 Hi all

  we have Tru64UNIX 5.1 ES40 (1024 Mb)
  

  char *p;
  long l;
  int i=0;

  for(i =1;i < 200;i++)
   {
        l=i*1024*1024;
        p=(char *)calloc(l,sizeof(char));
        printf("Allotted %d Mb \n",i);
        assert(p!=NULL);
        free(p);
   }

  assertion fails when i = 129 , is this a limit on
memory alllocated to a process . can this limit be
changed.

Thanks in advance
 Abdul

=====
 May Innocence and Joy Prevail

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:44 EDT