Rm_session::Out_of_memory.

Stefan Kalkowski stefan.kalkowski at ...1...
Thu Jun 30 13:17:38 CEST 2011


On 27.06.2011 23:47, Chen Tian - SISA wrote:
> Hello,
> 
>  
> 
> I want to measure the thread creation time in Genode via Cpu_session
> create_thread, start and kill_thread interface. However, after sometime
> (around 139th thread creation), I always get a “Quota exceed!
> Amount=61440, size=4096, consumed=61440” error. And a message “C++
> runtime: Genode::Rm_session::Out_of_memory” follows that.
> 
>  
> 
> I expected all resources used by a thread should be released when
> “kill_thread” is called. This is apparently not the case. Can someone
> explain to me why this error happened and how I can adjust the Rm_sesion
> quota?
> 

Hi Chen,

thank you for reporting this issue. You've triggered a memory leak in
the rm_session interface. Whenever, a thread is bound to a rm_session a
Rm_client object is created within the rm_session. By now, these
Rm_client objects were only destroyed when the rm_session got closed and
not when a thread got destroyed. We commited a preliminary fix in our
public subversion repository. Please, give it a try.

Regards
Stefan

>  
> 
> Thanks,
> 
>  
> 
> Best,
> 
> Chen
> 
> 
> 
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security 
> threats, fraudulent activity, and more. Splunk takes this data and makes 
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> 
> 
> 
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main

-- 
Stefan Kalkowski
Genode Labs

http://www.genode-labs.com/ · http://genode.org/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth




More information about the users mailing list