1751824 Members
5045 Online
108782 Solutions
New Discussion юеВ

EXEC_MAGIC

 
nitren
Frequent Advisor

EXEC_MAGIC

Hi!
We've an 3rdparty application eating memory due to the way other inhouse applications is interfacing it. Now the programmers have to fix it and it'll take a couple of months. In the meantime we're considering EXEC_MAGIC option for the 3rdparty application(32bit)running on HPUX11.0(64bit) in addition to more physical memory. In using EXEC_MAGIC we'll overcome the one Gb limit? What do we need to take into consideration using EXEC_MAGIC ? Any pifall?

Rgds

NilsI
3 REPLIES 3
RAC_1
Honored Contributor

Re: EXEC_MAGIC

Before enabling/disbling EXEC_MAGIC, look at the document /usr/share/doc/mem_mgt.txt.

The mx. absolute limit for 32 bit progrms is 1.75 GB, that too if they are set with EXEC_MAGIC. With this, data segment can grwo upto 1GB.

Your best and long term option would be use of 64 bit.

Anil
There is no substitute to HARDWORK
RAC_1
Honored Contributor

Re: EXEC_MAGIC

the doc is available on 10.20. You can get it from here also.

ftp://eh:spear9@hprc.external.hp.com/

Anil
There is no substitute to HARDWORK

Re: EXEC_MAGIC

Hi Nilsl,

I fully agree with Anil that 64bit is the best option.

Meanwhile, if you want to consider the EXEC_MAGIC solution, adding more physical memory may be not sufficient. You need to increase the maxdsiz kernel parameter up to 2GB ( and may be maxdsiz_64 in order to have maxdsiz_64 > maxdsiz). You need to add more swap if necessary.

Nourreddine