On Thu, 8 Feb 2001, Olivier CARRERE wrote:

> Hi all,
> 
> I've moved on quite well with emmbedded Ruby now.
> 
> I'm now able to call whenever I want Ruby scripts wich are able to
> communicate with the C/C++ program calling them (I've made a wrapper to
> be able to do it),[...]                        

    Is there any chance you could write up your experience on the WWW
    somewhere so others could learn from it, please?


>               [...]but I'm facing memory leaks.
> 
> While running many times the same script using the
> rb_eval_string_protect() function, the program keeps inflating. If I
> replace this function call with a simple printf(), the program doesn't
> inflate anymore.

    I wonder if an explicit call to the garbage collector would help?
    I have not entered this particular area at all, so I hope the truly
    wise will help you. :-)

    [...] 
> - Olivier CARRERE
> 
	Hugh