[Xenomai] Question about config option –mem-pool-size

Philippe Gerum rpm at xenomai.org
Fri Dec 2 15:01:29 CET 2016


On 12/02/2016 02:03 PM, Ronny Meeus wrote:
> Hello
> 
> Context: I'm using the pSOS interface over the Mercury core (version 3.0.3).
> 
> I have a question about option:
> –mem-pool-size
> described on page
> http://xenomai.org/2015/05/application-setup-and-init/
> 
> Is the parameter specifying the maximum size that will be used Xenomai
> or is this the initial value that will be used while creating the main
> memory pool.
> 
> The explanation makes me think it is the first case while tests show
> that it is the
> latter case. e.g. the memory pool just extends when it is depleted.
>

How do you check this?

> To me it would make more sense that the parameter is specifying the maximum
> memory that will be used since like it is today the application's
> memory usage can
> grow until all system memory is consumed.
> 

As stated in the documentation, this parameter configures the size of
the memory area underlying the the main/session heap, which is meant to
be a memory limit.

-- 
Philippe.



More information about the Xenomai mailing list