how to find memory leak in ubuntu on imx board?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to find memory leak in ubuntu on imx board?

1,441 次查看
robertzhang
Contributor I

i run a ubuntu on imx6 board, the uimage is stored on sd card.

i use free command to check the memory info.

after 4 hours runing, the free memory decrease 40M space between two free command check.

i feel the board have some memory problem.

who know how to find the reason or which program that have memory leak?

thanks

标签 (2)
0 项奖励
回复
5 回复数

1,059 次查看
YixingKong
Senior Contributor IV

Robert

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 项奖励
回复

1,059 次查看
robertzhang
Contributor I

hi,

i see the setup_sdcard.sh, it almost used for TI board , and for freescale's chip, only have three:IMX51,IMX53, mx6qsabrelite;

and mx6qsabrelite is a four core processor, i think maybe it is different for imx6solo processor, so there is a reason why the memory leak when run on this rootfs.

who known the details for difference, please tell me.

thanks.

0 项奖励
回复

1,059 次查看
YixingKong
Senior Contributor IV

Robert

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel

free to reply with an update to this discussion.

Thanks,
Yixing

0 项奖励
回复

1,059 次查看
LeonardoSandova
Specialist I

Did you build user-space application? When you close the app (control +c, not kill) , does the free memory never increase to its original value?

0 项奖励
回复

1,059 次查看
robertzhang
Contributor I

at first i run some script on it,but when i do nongthing after the board power on, it still have memory leak.

i use top command find there have 61 thread runing. and then i use jobs command to check there is not app was stop or halt.

then i think maybe the kernel that compiled have some problem.

but i dont familiar the kernel and boot to refresh, because the other colleage who do these things out of office some days .

i run the all of code on sd-card. i remember there maybe three part need to download sd card:rootfs,uboot and uimage.

i found a program named setup_sdcard.sh, but i donot know how to use it for my i.mx6solo board.

if you have these detail information for me, will be very thanks.

0 项奖励
回复