- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory leak problem in my program
Operating System - HP-UX
1752243
Members
4736
Online
108785
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2009 04:06 AM
06-05-2009 04:06 AM
Memory leak problem in my program
I detect my program which has memory leak program,so I need memory leak tools to identify it.
I serach this forum.there are some memory leak tool for hp ux like Electric Fence WDB,dmalloc purify
my os is hp ux 11.31 and 11.11
I use dmalloc in my program,but when i use it ,it didn't show any memory use detail
but i try simple program which can show if it has memory leak
my command like this
aCC -o cpu CHpuxHimCPU.cpp TestCPU.cpp ../CHimCPU.cpp ../AssetXML.cpp ../Markup.cpp -DDMALLOC -DDMALLOC_FUNC_CHECK -DMARKUP_STDCONV -AA -L/usr/local/lib -ldmalloc
does it have any memory leak tools ,it is free and it can run on 11.31 and 11.11
thanks
I serach this forum.there are some memory leak tool for hp ux like Electric Fence WDB,dmalloc purify
my os is hp ux 11.31 and 11.11
I use dmalloc in my program,but when i use it ,it didn't show any memory use detail
but i try simple program which can show if it has memory leak
my command like this
aCC -o cpu CHpuxHimCPU.cpp TestCPU.cpp ../CHimCPU.cpp ../AssetXML.cpp ../Markup.cpp -DDMALLOC -DDMALLOC_FUNC_CHECK -DMARKUP_STDCONV -AA -L/usr/local/lib -ldmalloc
does it have any memory leak tools ,it is free and it can run on 11.31 and 11.11
thanks
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2009 04:38 AM
06-05-2009 04:38 AM
Re: Memory leak problem in my program
You should be using wdb's leak detection commands:
(gdb) set heap-check on
Then later:
(gdb) info leaks
(gdb) set heap-check on
Then later:
(gdb) info leaks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP