Hello Arthur, Am 2007-04-12 13:40:08, schrieb Arthur Erdös: > Hello all, > > is there a way to free memory allocated by variables in PHP?? This is a > very important issue concerning long running scripts... > > I have a script that generates > 5000 Newsletters and when the script > finishes it uses 1.8 GB (!!) of RAM. Although I am using unset() to > clean up variables (tried with $var = null too). Are you running Linux? If yes, are aou realy sure it "eat" this amount of memory? I have a pgp-cli prog which seems to eat 12 GByte (of 16 GByte) after one week of use, but the stuff is ONLY cached... Greetings Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature