[mapserver-users] mapscript memory

Charlotte Declercq c.declercq at alkante.com
Wed May 20 08:03:41 EDT 2009


Hello,

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





More information about the mapserver-users mailing list