Forum Discussion
Altera_Forum
Honored Contributor
20 years agoproblem with oom(out of memoty)
Hi,
I am getting the out of memory.
At times the process chosen, "vidcat"(an app), is killed will all its threads. Why it so? And what can I do ?
I am getting this exception with kernel 2.6.x of uClinux-dist-test-20060511.tar.bz2 (patch is uClinux-dist.diff.gz),and DE2 board.
error message as follow:
...................
<attachment>
Pls give me some advice or a hint.Thx.
--leewood
2 Replies
- Altera_Forum
Honored Contributor
Hi leewood,
Wel-come to the club. I am also looking for same solution, it sound like uclinux issue. http://www.ucdot.org/article.pl?sid=04/08/04/1243240 (http://www.ucdot.org/article.pl?sid=04/08/04/1243240) Just check above link by David McCullough hint: You can add some show_mem(); func call in your driver to see how much memory is free when kernel goes out of memory. Look for which kind of memory your process required and those page are free or not. Nios uclinux have only __DMA__ pages........ thanks, Ankur - Altera_Forum
Honored Contributor
Hi,Ankur
I got confused in the hint you told me; hint: You can add some show_mem(); func call in your driver to see how much memory is free when kernel goes out of memory. Look for which kind of memory your process required and those page are free or not. about show_mem();func: the error message in my last print, I think it had shown something about Men-info.(Is it right?). Although I am not clear about what it means. about the kind of memory my process required : how can i get it? Is there some func that can show ithe info? Pls give some advice.Thx. --leewood