- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Out of memory error when compiling perl MQSeries m...
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
тАО04-05-2011 05:42 AM
тАО04-05-2011 05:42 AM
Out of memory error when compiling perl MQSeries module on PA RISC
cc -c -I"/opt/mqm/inc" -I../include -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" +Z "-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" -DMQ_CMVC_LVALUE=\"p600-210-100825\" constants.c
cc: warning 487: Possibly incorrect message catalog.
After half an hour or so it stops with an out-of-memory error:
cc: procedure constant_numeric(): error 6350: Out of memory. Check kernel maxdsiz parameter and swap space configured. (6350)
cc: procedure constant_numeric(): error 6350: Not enough space [errno=12]
Out of memory while reading in symbol table of /opt/ansic/lbin/ccom
I have already increased the swap space but to no avail, and I doubt this is the problem.
- Tags:
- maxdsiz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2011 07:40 AM
тАО04-05-2011 07:40 AM
Re: Out of memory error when compiling perl MQSeries module on PA RISC
> I have already increased the swap space but to no avail, and I doubt this is the problem.
And have you assessed your 'maxdsiz' setting as the error suggests? What does 'swapinfo -tam' show just before the out-of-memory error?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2011 08:40 AM
тАО04-05-2011 08:40 AM
Re: Out of memory error when compiling perl MQSeries module on PA RISC
'swapinfo -tam' showed this BEFORE running the compile:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 394 -394
memory 4094 1365 2729 33%
total 8190 1759 6431 21% - 0 -
And this near the end:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 791 -791
memory 4094 1368 2726 33%
total 8190 2159 6031 26% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2011 10:51 PM
тАО04-06-2011 10:51 PM
Re: Out of memory error when compiling perl MQSeries module on PA RISC
Have you watched the memory usage in top?
>I checked maxdsiz.
What is it?
If you have maxdsiz at 1 Gb and you have plenty of swap, your only choice is to stop optimizing, remove: -fast +Onolimit +Opromote_indirect_calls
Just use -O.
Or port to Integrity where the compiler is a 64 bit application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2011 02:07 AM
тАО04-07-2011 02:07 AM