- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/bash
Problem 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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Mark! Its working now.
Regards,
Santosh
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page