[daip] IMAGR memory problem
Hanno Spreeuw
J.N.Spreeuw at uva.nl
Tue Mar 3 03:45:25 EST 2009
Hi Eric,
I reinstalled the LNX64 binaries and it works fine.
I am imaging 235 facets from a 285 MB dataset.
When I set the MAXAP to 512 MB or 1024 MB it works fine.
Of course, I should set it slightly lower than 512 MB, but I was trying
a few different values.
If I set MAXAP to 4GB I get another memory allocation error, although I
have almost 6GB RAM available.
This I don't understand.
Hanno.
Eric Greisen wrote:
> Hanno Spreeuw wrote:
>
>> Hello, I am running IMAGR, 235 facets:
>>
>> localh> IMAGR1: Create 8889J2000 .ICL230. 10 (MA) on disk 1 cno
>> 468
>> localh> IMAGR1: Create 8889J2000 .ICL231. 10 (MA) on disk 1 cno
>> 469
>> localh> IMAGR1: Create 8889J2000 .ICL232. 10 (MA) on disk 1 cno
>> 470
>> localh> IMAGR1: Create 8889J2000 .ICL233. 10 (MA) on disk 1 cno
>> 471
>> localh> IMAGR1: Create 8889J2000 .ICL234. 10 (MA) on disk 1 cno
>> 472
>> localh> IMAGR1: Create 8889J2000 .ICL235. 10 (MA) on disk 1 cno
>> 473
>> localh> IMAGR1: QINIT: did a FREE of 5120 Kwords, OFF 14349509
>> localh> IMAGR1: ZMEMRY: MEMORY ALLOCATION FAILS AT IMAGR
>> localh> IMAGR1: QINIT: ERROR 3 FROM ZMEMRY DOING GET WORDS********
>> localh> IMAGR1: OUVIMG: FAILED TO GET NEEDED MEMORY
>
>
> The message above says that a request of >= 100000000 or >= 400 Mbytes
> got an error return from malloc. I am fixing aips so this message is in
> kilo words and has more range. My guess is that the SETMAXAP allowed is
> quite large and the computer could not at that moment meet the request.
>
> Tomorrow's MNJ will get you a version with a better error message if you
> still are able to use the MNJ with your installation.
>
> I will look at all the subsequent mails involving compilers and such but
> that gets into Mac OS things I know little about.
>
> Eric Greisen
More information about the Daip
mailing list