need help to locate the memory leak through CLI

need help to locate the memory leak through CLI

HI, After running the CLI command, (inspxe-runmc and inspxe-cl -report) I have obtained the output for a memory leak as below:
Problem P1: Error: Memory leak(0x579e6): Error X3: P1: Memory leak: Allocation site: Function xmalloc: Module /bin/bashProblem P1: Error: Memory leak(0x579e6): Error X3: P1: Memory leak: Allocation site: Function xmalloc: Module /bin/bash==================================================================However I am unable to loacte the exact point or the cause this leak in my application through CLI.Note: Seeing this leak with -leak-check-on-exit.Would be of great if get info in this.Thanks,Santosh

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Santosh,
The reported leak is in 'bash' - it looks like your application is launched using a shell script. Only one executable can be analyzed in a single run. To analyze your application, use the -executable-of-interest option.

For example, suppose we have an application named 'my_app', and a script that calls it, named 'launcher.sh'. The command line would be:
$ inspxe-cl -collect mi3 -executable-of-interest my_app launcher.sh

Thanks Mark! Its working now.Regards,Santosh

Leave a Comment

Please sign in to add a comment. Not a member? Join today