Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by hippo@Mar 8 2006, 09:15 AM did your arm have shared obj? the current nios2 did not support shared obj yet.
another question, how do you take the size of the exec obj?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13221)
--- quote end ---
--- Quote End --- Hi,hippo! Thanks for your repsonds, there are no mmu in the both flatforms arm and nios2, I only use the lib uClibc, I am a begginer, so I don't know share obj clearly. I get the memory size of the pppd exec through catting the /proc/meminfo content. I think the free memory's difference between before and after the pppd run is the memory size of pppd used.In addition, I find 1.2M excess memory is impropriated at the begging of ppp building.In other word, the pppd process need almost 2.4Mb memory when they attempt building ppp link with remote. After the ppp link is successful build, the excess 1.2Mb memory will be free can you tell another better mothod to caculater the memory size of the exec obj clearly? Thanks a lot.