Help,
In a oracle dataset we insert thousands of records in a loop. In the taskmanager the used memory is slowly going up. On some p.c. a out of memory error occured. Any suggestions where to look at?
cachedupdates := true, commit on post False;
applyupdates is called every 100 records.
with kind regards
Ruud Bernards
with dtmimportgpocfacturatie do
begin
odtsproduct.insert;
odtsproductPRD_AANSLUITING.value:= copy(tekstregel,1,10);
odtsproductPRD_NAAM.value:= copy(tekstregel,12,35);
odtsproductPRD_ADRES.value:= copy(tekstregel,48,50);
inc(committeller);
if committeller>( teller/100 ) then
begin
dtmsession.osnAris2000.ApplyUpdates([odtsproduct],true);
committeller:=0;
end;
end;
In a oracle dataset we insert thousands of records in a loop. In the taskmanager the used memory is slowly going up. On some p.c. a out of memory error occured. Any suggestions where to look at?
cachedupdates := true, commit on post False;
applyupdates is called every 100 records.
with kind regards
Ruud Bernards
with dtmimportgpocfacturatie do
begin
odtsproduct.insert;
odtsproductPRD_AANSLUITING.value:= copy(tekstregel,1,10);
odtsproductPRD_NAAM.value:= copy(tekstregel,12,35);
odtsproductPRD_ADRES.value:= copy(tekstregel,48,50);
inc(committeller);
if committeller>( teller/100 ) then
begin
dtmsession.osnAris2000.ApplyUpdates([odtsproduct],true);
committeller:=0;
end;
end;