GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Huge stack growth & How to examine stack
Operating System - HP-UX
1846733
Members
4045
Online
110256
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
09-06-2002 01:45 AM
09-06-2002 01:45 AM
Hi,
I'm using HP-UX 11.00 and I've a process built with aCC 3.13 which is experiencing a problem with large process size: in fact, I've identified that the stack segment grows by hundreds of MB, for no apparent reason and it seems that this allocation is temporary (in the sense that, attaching the process with GDB, I couldn't see this allocation in the stack trace, while viewing memory regions with glance I could see a huge VSS with a small RSS)
I've tried to find out in my code some erroneous allocations of memory, but didn't find anything. Now I'd like to examine the stack; more precisely I'd like to dump all the stack memory regions.
Has anyone a suggestion? Is there any tool, other than debugger, to examine in more detail every call made by the process (the memory growths in a undeterministic way, so I can't debug the process step by step guesssing to catch the moment it growths)?
Andre
I'm using HP-UX 11.00 and I've a process built with aCC 3.13 which is experiencing a problem with large process size: in fact, I've identified that the stack segment grows by hundreds of MB, for no apparent reason and it seems that this allocation is temporary (in the sense that, attaching the process with GDB, I couldn't see this allocation in the stack trace, while viewing memory regions with glance I could see a huge VSS with a small RSS)
I've tried to find out in my code some erroneous allocations of memory, but didn't find anything. Now I'd like to examine the stack; more precisely I'd like to dump all the stack memory regions.
Has anyone a suggestion? Is there any tool, other than debugger, to examine in more detail every call made by the process (the memory growths in a undeterministic way, so I can't debug the process step by step guesssing to catch the moment it growths)?
Andre
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 01:54 AM
09-06-2002 01:54 AM
SolutionHi,
I advise you to install patch PHSS_27469
(libcl) which has a fix for abnormal stack
growth.
If your application is not built with shared
libraries you will have to recompile it.
By the way, your aCC version 3.13 is rather
old.
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 01:02 AM
09-13-2002 01:02 AM
Re: Huge stack growth & How to examine stack
Thank you very much Olav, I applied and tested the patch you suggested and I had positive feedback.
Regarding aCC compiler version, then, I know it's an old revision but I've constraints that keep me tied to it.
Andrea
Regarding aCC compiler version, then, I know it's an old revision but I've constraints that keep me tied to it.
Andrea
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.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP