Hello,
I thought I might as well ask this since the mailing list has been somewhat
active recently. I have been testing some of my software, but after a certain
period of time, I experience errors of the following form:
l4re_kernel: ERROR: more-mem(1000): Cannot provide more memory.
l4re_kernel: ERROR: mmap() called: unimplemented! size=100000
As far as I can tell, uclibc_morecore and mmap in...
pkg/l4re-core/l4re_kernel/server/src/mem.cc
...are respectively responsible for these errors, the former being called by
__malloc_trim, itself called by free in...
pkg/l4re-core/uclibc/lib/contrib/uclibc/libc/stdlib/malloc-standard/free.c
Looking at the uclibc_morecore implementation, it seems that the "program
break" is defined only once, with a dataspace of 64 pages being allocated, and
any subsequent sbrk call will not cause this allocated space to be extended
further. Have I understood this situation correctly?
As always, I assume that I am making some kind of mistake, in this case
probably not deallocating memory when I should be and thus exhausting the
available space. Are there any convenient ways of monitoring memory allocation
in L4Re?
Thanks for any advice offered!
Paul
_______________________________________________
l4-hackers mailing list -- l4-hackers(a)os.inf.tu-dresden.de
To unsubscribe send an email to l4-hackers-leave(a)os.inf.tu-dresden.de