On Fri, Jun 10, 2011 at 09:33:36AM +0200, Nicolas CARRIER wrote:
> For now, I've been told that the biggest (~8MB) source of "memory 
> consumption" I though I had found, was a fake ^^!
> It's located at :
> pppob.cc (269): main
> m_ipmodem.cc (357): Barry::Mode::IpModem::Open
> It seems to be the pthread_create which allocates 8MB (for the stack ?).

Nice to know that Barry is only taking 4MB then, according to those
numbers.  Still, 4MB sounds high too.


> I've made a little program which consumes a lot of ram (and writes into 
> it...) so that barry + this program eat more than the system ram and the 
> oom killer didn't say a thing.

What is your overcommit policy?

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.39.y.git;a=blob;f=Documentation/vm/overcommit-accounting;h=706d7ed9d8d2a7b6a4d91aacf2e4bf449f14b713;hb=cf29f916c310c9b13c19514b496700c549597e11

- Chris


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to