- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot allocate 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
Discussions
Forums
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
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
тАО11-16-2003 06:07 PM
тАО11-16-2003 06:07 PM
Cannot allocate memory
submitting the command swapinf -tam while the application running I got the following results but teh application fails.
swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
reserve - 352 -352
memory 763 544 219 71%
total 1787 896 891 50% - 0 -
t4:/home/root> r
swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
reserve - 367 -367
memory 763 544 219 71%
total 1787 911 876 51% - 0 -
t4:/home/root> r
swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
reserve - 301 -301
memory 763 544 219 71%
total 1787 845 942 47% - 0 -
maxdsiz 67108864 67108864 Max Data Segment Size (b |
|
maxswapchunks 2163 2163 Max Number of Swap Chunk |
| maxtsiz 67108864 67108864 Max Text Segment Size (b |
Is it some thing related to unix and how to fix it or I have to contact the appliction vendor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2003 06:22 PM
тАО11-16-2003 06:22 PM
Re: Cannot allocate memory
The out of memory errors come up for several reasons
1.First check your memory and swap usage on the system.
if it is very high check for the memory usage by each process and try to bring them to a minimum.
2.If step 1 is ok then check the buffer cache paramters are ok.
Also check whether your application does not touch the limits of
max_files
max number of open files
max_thread_proc
max number of thread per each process.
your swapinfo command shows more amount of usage of memory
Are you running a server with 1GB memory.
Also your shared memory is set to 1GB.
What are the values of dbc_max_pct and dbc_min_pct?
These are the buffer cache parameters.
Also run
UNIX95= ps -e -o ruser,pid,vsz=Kbytes|more
during the time when you see a full memory usage by the server.
If your memory size is 1GB
you can reduce the dbc_max_pct to 20 and min_pct to 10.
These paramters define the buffer cache on the system.
By default they are half the memory on the system.
Bring them down to the specified values
Also bump up the values of
maxdsiz
maxdsiz(if the application is 64 bit)
The kernel maxdsiz value just tells the upper limit for the data segment of a process.
Increase it
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 05:05 PM
тАО11-18-2003 05:05 PM
Re: Cannot allocate memory
I have K460 server with IGB mem 1GB Swap
10.20 OS
dbc_max_pct=50
dbc_min_pct=5
maxdsiz=67108864
do you agree with me to increase the maxdsiz to 134217728, and will it help?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 05:11 PM
тАО11-18-2003 05:11 PM
Re: Cannot allocate memory
if you are running a 64 bit application then then the 64 bit equ. of maxdsiz i.e maxdsiz_64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2003 03:27 AM
тАО11-22-2003 03:27 AM
Re: Cannot allocate memory
After the changes you recommended done the application ran successfuly.
Thanks And many thanks again.