Forum Discussion
Altera_Forum
Honored Contributor
20 years agohelp me,save my memory
hi! my application use more memory in the nios than arm platform I use the objdump print as follow: [root@localhost pppd]# nios2-elf-objdump --header pppd_dump.elf pppd_dump.elf: file...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by mountain8848@Mar 29 2006, 05:22 PM hi hippo,
we do use the nios2 cross compiler tools according to your buildroot post.
but the size of the applications(pppd) code and its size in sdram all more bigger than arm+ linux2.4.x.
could your give your applications(pppd) parameters? such as using cat pid/status and objdump .
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13893)
--- quote end ---
--- Quote End --- The code size of nios2 may be a little bigger than arm. But smalllight's problem is that it take many times of that of arm when in sdram. He said all appliactions has this problem. Sound like memory leakage. I didn't use arm linux, so I don't know the differences. I didn't build pppd, but I checked boa, and it seem OK. What is your memory profile before and after loading an apps? with "cat /proc/meminfo" or "free" . We also check with "cat /proc/<apps pid>/status" .