Carlo Sogono wrote:

> Does RHEL or Linux in general limit the amount of memory being used by a 
> single process?

All linux systems limit the amount to memory to be less than
the totla virtual memory of the system :-).

> In the first maybe 5 million mallocs it can do 
> about 100,000 mallocs per second, however after more than 1 GB worth it 
> slows down to just a few thousand per second.

How much virtual and real memory do you actually have?

Are these mallocs being freed or do you just keep on mallocing?

> Is there something I can do on Linux or RHEL, or maybe something else I 
> should do in my coding?

Before doing anything you really need to figure out what the
problem is :-).

> Some stats...

You might also want to try the dstat program as recommended to me 
by Martin Vissier (sp?):

    http://dag.wieers.com/home-made/dstat/

Cheers,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"The trouble with Muslims is not that they try to make us
think as they do, but that they try to make us do as they
think!" -- paraphrased from H.L. Mencken on Puritans 
_______________________________________________
coders mailing list
[email protected]
http://lists.slug.org.au/listinfo/coders

Reply via email to