- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to determine if a process leaks memory?
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
03-19-2014 05:20 AM
03-19-2014 05:20 AM
How to determine if a process leaks memory?
Hi,
We usually monitors VSize of a process over a period of time while doing similar/repeated operations. If VSize remains constant, then we conclude that the process does not leaks memory. If we observe continuous growth of VSize, then we suspect that the process is leaking memory. Is my understanding correct ? We are using HPUX Itanium 11.31.
Thanks and Regards
Sanjaya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2014 05:57 PM
03-19-2014 05:57 PM
Re: How to determine if a process leaks memory?
'Leaking memory' is just a simple term for poor programming technique where temporary memory areas are requested but never returned when no longer needed. It is not unusual for a program to grow rapidly at the beginning, but taper off and never change after a long time. It all depends on how the program is supposed to work. if a program starts small and contunues to grow continuously over days or weeks, then a memory leak can be the reason. Ask the programmer. If no programmer, restart the program or ask for a patch to fix the uncontrolled growth.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2014 06:14 PM
03-19-2014 06:14 PM
Re: How to determine if a process leaks memory?
>If we observe continuous growth of VSize, then we suspect that the process is leaking memory.
Either you are leaking memory or you have heap fragmentation. The latter is something a developer would be normally expecting.