Memory problems concerning DDE and FLIPS

Christian Helmuth ch12 at
Mon Jun 6 09:07:30 CEST 2005


On Sa, 2005-06-04 at 17:02 +0100, Tiago Jorge wrote:
> hello...
> i'm trying to put project reliable and i'm testing now the possibility 
> of using the network for long periods of time with FLIPS.
> but when i do a considerable amount of sendto's it gives me the 
> following error:
> [C.A]dde_linux/lib/src/mm.c:117: __more_kcore():
> Error: out of memory
> i've seen that this error ocurrs when something in DDE is out of memory. 
> i presume the driver's buffers. What can i do to increase this memory? 
> is this possible? or is it something not flushing some buffers in a 
> correct way?

IMO FLIPS suffers from some memory leaks I never had time to fix or even
analyse thoroughly. You may increase the size of the DDE memory pool by
editing flips/server/src/main_lxdrv.c:22:

	if (liblinux_init(640*1024, 1024*1024))

The first value describes the vmem pool (vmalloc() and friends) - the
second describes the kmem pool (kmalloc()). 

Good luck
Christian Helmuth

TU Dresden, Dept. of CS
Operating Systems Group

More information about the l4-hackers mailing list