- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Vitual memory increasing
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
04-12-2010 05:54 AM
04-12-2010 05:54 AM
Re: Vitual memory increasing
You are the developer, something in the code is not releasing memory probably because it has cross a boundary and gone into another segmant of memory not allocated to it.
This is a common coding problem. Taking more than what your proccess have been assigned and / or not releasing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 08:04 AM
04-12-2010 08:04 AM
Re: Vitual memory increasing
Then you'll need to use gdb's leak detection commands directly on dsd.
>(const char *title)
>could you please let me know what is this?
Anything you want to identify that set of output.
>do I need to call this gdb from the application?
You need to invoke your program from gdb:
$ gdb dsd
set unwindonsignal on
set heap-check leaks on
set heap-check frame-count 16
r dsd-parms ...
(You can redirect stdin or stdout if you want.)
>if there is 1 record also it is increasing the virtual memory
You would expect some increase for a record. It depends on how much state you keep for each record and/or whether some records need more space than others.
If you have no control over the dsd executable, there isn't much you can do, even if you find the leak. You'll have to report it to the owners.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 01:21 PM
04-12-2010 01:21 PM
Re: Vitual memory increasing
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 10:29 PM
04-12-2010 10:29 PM
Re: Vitual memory increasing
>>If you have no control over the dsd executable, there isn't much you can do, even if you find the leak. You'll have to report it to the owners.
I dont have control to the dsd executable , but Before writing to the product team i have to prove there is a memory leak or something causing the memory is not releasing
When tried to run the commands
$ gdb dsd
set unwindonsignal on
set heap-check leaks on
set heap-check frame-count 16
(gdb) r allocate
warning: Load module /fwdev/home/fwprod1/data/mediation/product/bin/dsd has been stripped.
Debugging information is not available.
(no debugging symbols found)
Starting program: /fwdev/home/fwprod1/data/mediation/product/bin/dsd allocate
After i am gettimg lot of warnings and then
error at (interactive):0: cannot open file: No such file or directory
Program exited normally.
attached the log for the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2010 12:46 PM
04-13-2010 12:46 PM
Re: Vitual memory increasing
>error at (interactive):0: cannot open file: No such file or directory
For the run command, the "allocate" would be a command line parm. Does this make sense:
dsd allocate
You probably want to create a file with all of the dsd input then:
r < dsd_input
- « Previous
-
- 1
- 2
- Next »