Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* memory limits
@ 2000-02-08  5:00 Philippe Blaise
  2000-02-09  5:00 ` Serguei Patchkovskii
  2000-02-09  5:00 ` Aurel Balmosan
  0 siblings, 2 replies; 4+ messages in thread
From: Philippe Blaise @ 2000-02-08  5:00 UTC (permalink / raw)


I can't understand the memory limits on my ES40 Tru64 Unix V5.0 :

253.phblai.ixia0> limit
cputime         1:00:00
filesize        unlimited
datasize        4194304 kbytes
stacksize       4194304 kbytes
coredumpsize    unlimited
memoryuse       1032192 kbytes
vmemoryuse      4194304 kbytes
descriptors     4096

I thought it was not possible to adress more than
memoryuse       1032192 kbytes
but a simple program can allocate more :

254.phblai.ixia0> ./fuck_mem
 allocation de          128  MB en cours...
   16777216.0000000
 allocation + test calcul reussis !
 allocation de          256  MB en cours...
   33554432.0000000
 allocation + test calcul reussis !
 allocation de          384  MB en cours...
   50331648.0000000
 allocation + test calcul reussis !
 allocation de          512  MB en cours...
   67108864.0000000
 allocation + test calcul reussis !
 allocation de          640  MB en cours...
   83886080.0000000
 allocation + test calcul reussis !
 allocation de          768  MB en cours...
   100663296.000000
 allocation + test calcul reussis !
 allocation de          896  MB en cours...
   117440512.000000
 allocation + test calcul reussis !
 allocation de         1024  MB en cours...
   134217728.000000
 allocation + test calcul reussis !
 allocation de         1152  MB en cours...
   150994944.000000
 allocation + test calcul reussis !
 allocation de         1280  MB en cours...
   167772160.000000
 allocation + test calcul reussis !
 allocation de         1408  MB en cours...
   184549376.000000
 allocation + test calcul reussis !
 allocation de         1536  MB en cours...

etc....

Could someone explain to me the meaning of all that memory limits,
and how to avoid to allocate more than 1 Go / process on my ES40 ?

Phil.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-10  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-08  5:00 memory limits Philippe Blaise
2000-02-09  5:00 ` Serguei Patchkovskii
2000-02-10  5:00   ` Philippe Blaise
2000-02-09  5:00 ` Aurel Balmosan

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