Thanks everybody for the advice,
I'd just like to point out the fact that I wasn't getting the error with GPC 2.1, but I must also say that the system I was running on was slightly different (I can talk to the administrator about this). I'll first see if I can reproduce the error on a different system, to see whether it depends on quota.
As for the number of arrays used, there are quite a few, about a hundred. As for possible bugs in my code, I can reproduce here the part where I declare and initialise the arrays: maybe something's wrong, or something I don't know changed from GPC 2.1.
Thanks everybody, best regards
Silvio a Beccara
------------- code
type
PVecDob = ^TVecDob; TVecDob (Size: Integer) = array [ 1 .. Size ] of double;
PMatr2Dob = ^TMatr2Dob; TMatr2Dob (Size1, Size2: Integer) = array [ 1 .. Size1, 1..Size2 ] of double;
var
x, y, z: PMatr2Dob; foldprocx, foldprocy, foldprocz: PvecDob;
begin
ncopieproc := 128; np := 256;
new ( x, ncopieproc, np ); new ( y, ncopieproc, np ); new ( z, ncopieproc, np );
new ( foldprocx, np ); new ( foldprocy, np ); new ( foldprocz, np );
...........................................
end;
------------- code
GPC should not limit your memory use -- at the bottom layer it just uses `malloc'. Note that seemingly small change to the system can significantly change memory allocation. So first check that all other factors are equal.
If you are allocating _one_ array of 630Mb then the failure is very strange, even if something else has changed.
If the same program (source) compiled by GPC 2.1 can allocate 630 MB, but program compiled by current GPC can not (running on the same system) then most likely we have a bug, either in GPC or in your program.
But to find a bug we need to reproduce it, and ATM we have almost no details how.
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
vieni a conoscere le 2000 aziende del Canavese, prodotti e servizi dal settore alimentare fino a quello tessile
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3608&d=22-7