- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: debugging very large applications
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
Forums
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
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
12-21-2005 06:34 AM
12-21-2005 06:34 AM
Really, I believe this issue comes down to kernel parameters somehow. I have 2GB memory and originally had 1 GB swap. Since I started working on this problem I have added 5 more GB of swap.
Here are some kernel param values I think are related to the problem. All of these were smaller at some point in my exploration:
maxdsiz - 0xCC000000
maxssiz - 0x4000000
maxtsiz - 0x40000000
maxswapchunks - 5000
When I run gdb and watch top, I see its memory usage grow to where SIZE is reported around 900-950 MB and RES is around 900 MB. gdb then fails with a message about virtual memory exhausted: can't allocate 95743917 bytes. WDB has the same behavior. I tried to run DDE but it won't come up for some reason.
While gdb is still running, using the memory it has used so far, /etc/swapinfo -t reports:
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol2
dev 5242880 113056 5129824 2% 0 - 0 /dev/vg00/lvol10
reserve - 1360172 -1360172
memory 1566484 465180 1101304 30%
total 7857940 1938408 5919532 25% - 0 -
Is there a trick to exceeding 1 GB memory in an application? Thanks!
Thanks,
Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 07:08 AM
12-21-2005 07:08 AM
Re: debugging very large applications
I would suggest you log a SW case with HP and ask them if they have a temporary patch that you can get.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 07:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 07:47 AM
12-21-2005 07:47 AM
Re: debugging very large applications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 01:41 PM
12-21-2005 01:41 PM
Re: debugging very large applications
Change the compilation to 64bits and now you can grab dozens of Gb of data area. Attached is a simple program to illustrate all the options.
Bill Hassell, sysadmin