in reply to Memory Leak: Uses 3GB+
Mem: 3765572k total, 3663796k used, 101776k free, 42856k buffe +rs Swap: 2031608k total, 368k used, 2031240k free, 3141516k cache +d
Well, that just tells you that the memory of your system is being used, but it doesn't tell how much is e.g. file system cache or such. That said:
Use placeholders. Learn about why.
$insert_str = "insert into $mysql_table (data1, data2, data3, data4, d +ata5) values(?,?,?,?,?)"; $sth = $dbh->prepare($insert_str); $sth->execute($cdate, $clang, $csrc, $ccode, $cuniqueid);
Placeholders also avoid backslashitis.
|
|---|