Forum Discussion
Altera_Forum
Honored Contributor
19 years agoerror : memory exhausted
When I try to run my application I get "memory exhausted" message. I have passed "mem = 32M" as kernel parameter to increase the ram allocation to kernel to 32 MB. But it still doesn't work.
Altera_Forum
Honored Contributor
19 years agoYou don't need to give "mem=xxx" to kernel. The nios2 arch setup.c will use all sdram.
Please check available memory before your application, with "free" or "cat /proc/meminfo". You should also check memory required by your application. The error may also come from corrupted memory.