tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* memory available to a process
@ 2002-06-26 12:08 Jaleel Ahmed
  0 siblings, 0 replies; only message in thread
From: Jaleel Ahmed @ 2002-06-26 12:08 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-26 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-26 12:08 memory available to a process Jaleel Ahmed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox