[ms4w-users] mapscript memory release problem

Charlotte Declercq c.declercq at alkante.com
Fri May 15 07:48:17 EST 2009


Hello list,

I have a problem releasing the memory of mapscript objects.
My php script :


echo memory_get_usage() . "<br>";
$Directory="/applications/carmen/data/PACA3/Publication/";
$oMap = 
@ms_newMapObj($Directory."/environnement_testsymbols_sauvegarde_racine.map"); 

echo memory_get_usage() . "<br>";
unset($oMap);
echo memory_get_usage() . "<br>";

The results :
98688
176360
176600

So it seems that the $oMap object hasn't been released from memory.

Can anyone help on this?

Thanks,

-- 
Charlotte DECLERCQ

ALKANTE SAS
Ingénieur R&D SIG
1, rue du Chêne Morand
35 510 Cesson-Sévigné
Bur: + 33 (0) 2 99 22 25 70
fax : + 33 (0) 2 99 32 12 76

-- 
Charlotte DECLERCQ

ALKANTE SAS
Ingénieur R&D SIG
1, rue du Chêne Morand
35 510 Cesson-Sévigné
Bur: + 33 (0) 2 99 22 25 70
fax : + 33 (0) 2 99 32 12 76





More information about the MS4W-Users mailing list