1753261 Members
5249 Online
108792 Solutions
New Discussion

Problem whith Purify

 
demur
Occasional Contributor

Problem whith Purify

Bonjour,

On a HP-UX 10.20 system, a user reported me this problem listing :

Purify 5.0.1 HP-UX, Copyright (C) 1992-1999 Rational Software Corp. All rights
reserved.
Instrumenting: common_param.o common_cchex.o common_cdia2.o common_protrep.o
common_cadre.o common_csyst.o common_cdia1.o common_upplt.o common_cdiag.o
common_cpart.o common_tab2d.o common_ccrea.o common_ccham.o common_interface.o
common_allofix.o common_allotmp.o common_alnopo.o module_interface_calmai.o
module_cadre.o module_csyst.o module_cdia1.o module_cdia2.o module_cchex.o
module_ccham.o module_cpart.o module_ccrea.o aappel.o dianv1.o maifro.o trcchl.o
dianv2.o maiftp.o trcdcr.o diapsp.o maille.o trchis.o diglpa.o mapfnt.o trchst.o
Purify engine: While processing file /home/bouvet/SAUVEGARDES/F90TEMP/trchst.o:
Error: Memory allocation failed during a request for 76 bytes.
This failure can be caused by exceeding the data segment
size limit or by exhausting the available swap space.
Space left in the data segment is 0 bytes.
Data segment size limit is 67108864 bytes.
System error code: Not enough space
make: *** [pur2] Error 1


The swap space is quite large :

blanc root /var/adm/sw/patch # swapinfo -mantw
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 512 22 490 4% 0 - 1 /dev/vg00/lvol2
reserve - 87 -87
memory 174 132 42 76%
total 686 241 445 35% - 0 -


Purify tells data segment is full. But 64Mo is large. How can Purify need such a lot of space in data segment ?

Are there ways of workaround ?


Merci.
Soyons heureux
1 REPLY 1
Rainer_1
Honored Contributor

Re: Problem whith Purify

The Data segment size limit refers to the kernel parameter maxdsiz.
Purify tells that you are using the default value (67108864 = 0x04000000)
Increase the maxdsiz parameter (reboot is required)