Re: Large program support

From: Mike Whorley (Mike.Whorley@CODA.COM)
Date: Wed Jul 31 2002 - 09:09:09 EDT


I believe these values only work up to o/s hard levels. That is the area I'm
trying to tweak.

I found this in IBM documentation that may be the answer I'm looking for :-

Enabling the Large Address-Space Model

Using the following shell commands, you can patch large programs to use
large data without relinking them:

/usr/bin/echo '\0200\0\0\0'|dd of=executable_file_name bs=4
count=1 seek=19 conv=notrunc

Has anyone tried this successfully ?

Regards,
Mike.

-----Original Message-----
From: Bill Verzal [mailto:Bill_Verzal@BCBSIL.COM]
Sent: 31 July 2002 13:48
To: aix-l@Princeton.EDU
Subject: Re: Large program support

/etc/security/limits

----------------------------------------------------------------------------
-------------------------------

Bill Verzal
Technical Consultant
Forbes Technical Consulting
(312) 653-3684
bill_verzal@bcbsil.com
MailStop: 27.201C

                    Mike Whorley
                    <Mike.Whorley@ To: aix-l@Princeton.EDU
                    CODA.COM> cc:
                    Sent by: IBM Subject: Large program support
                    AIX Discussion
                    List
                    <aix-l@Princet
                    on.EDU>

                    07/31/2002
                    06:59 AM
                    Please respond
                    to IBM AIX
                    Discussion
                    List

All,

I have a tricky problem whereby an application is falling over because it
cannot allocate enough memory. No exact details at the moment as the issue
is at a remote site

The financials application is trying to run a year end and we believe it
needs to allocate about 1.2Gb of memory. It seems that AIX has a memory
threshold and indeed we have proved this to be the case in the past whereby
our application fell over trying to allocate more than 256Mb then later
512Mb.

I don't have exact information at this stage but I believe the AIX level to
be 4.3.3 and the physical memory to be 2Gb.

Does anyone have any knowledge on how we can allow the application to
access at least 1.2Gb ? I'm assuming the O/S is set to only allow 1Gb at
this level of AIX.

Any advice would be greatly appreciated as this is causing us some big
headaches at the moment.

TIA,

Mike.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:06 EDT