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 agoI don't understand your problem about padding.
One important difference between RISC and x86 is that RISC can not access unaligned word. eg, read 32 bits word from address 4 is OK, but read 32 bits word from address 5,6,7 is wrong. so you may need to 4 read bytes from address 9, and shifted to make a 32 bit word. This applies when you read or write a unaligned member in a structure.