Altera_Forum
Honored Contributor
19 years agoOut of memory..
I'm running an application that runs with 16 threads ( 17 if you count main()) on uCLIunx Nios II with 32 MB SDRAM. After it runs a while (for almost 1/2 hour), suddenly the OS does this:
http://www.e-mag.com/problem.jpg (http://www.e-mag.com/problem.jpg) I really dont understand what could cause this because 1) my application doesnt do any memory allocation. 2) the 16 threads just sem_wait for interrupts from some processors that it's controlling. so basically, the application just keeps calling sem_wait and sem_post and makes a few hardware-related calls. This can't be related to stack overflow can it? Any thoughts would be greatly appreciated.