how to find memory leak in ubuntu on imx board?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to find memory leak in ubuntu on imx board?

1,653件の閲覧回数
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,271件の閲覧回数
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,271件の閲覧回数
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,271件の閲覧回数
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,271件の閲覧回数
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,271件の閲覧回数
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 件の賞賛
返信