From: Jaleel Ahmed <jaleelahmed@yahoo.com>
Subject: memory available to a process
Date: Wed, 26 Jun 2002 05:08:44 -0700 (PDT) [thread overview]
Message-ID: <20020626120844.43741.qmail@web13906.mail.yahoo.com> (raw)
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
reply other threads:[~2002-06-26 12:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox