GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: A problem about memory management
Operating System - HP-UX
1847182
Members
3360
Online
110263
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
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
11-03-2006 02:08 AM
11-03-2006 02:08 AM
A problem about memory management
I encounter a problem when developing on HP-Ux V.11.23 platform. My machine has 4GB memory. The compiler is aC++/ANSI C B3910B A.06.05. My program have to alloc and free memory frequently. For example, process named Demo malloc 400MB above all. Then it free 300MB memory. By using TOP, we found the memory allocated for Demo was still 400MB. Until the process was killed, the memory was released. If the process is still alive, the 400MB cannot be allocated for other processes. Have any approch to resolve the problem?
Thanks in advance
Thanks in advance
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 02:21 AM
11-03-2006 02:21 AM
Re: A problem about memory management
Hi:
This behavior is expected. When you 'free' memory that you have 'malloc'ed, the memory is returned back to the heap for reuse by the process. The memory is *not* returned to the system at large until the process terminates.
Regards!
...JRF...
This behavior is expected. When you 'free' memory that you have 'malloc'ed, the memory is returned back to the heap for reuse by the process. The memory is *not* returned to the system at large until the process terminates.
Regards!
...JRF...
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