Elm Gysel wrote: > /* perform query */ > query.execute(nr, Date.str(), Op, Hi, Lo, Cl, Vo); > The problem is in the above line I think. If I comment it out the memory > usage doesn't explode. > I get around 1.5MB more mem usage each time I insert 2000 records. > I have no clue what might go wrong here. > } > } > > After 10 times adding 2000records I have a memory usage of like 30MB. Are > there any memory leaks involved in using the query object? Am I doing > something wrong?
AFAIK MySQL does not have a memory leak. I insert millions of records from a single perl program without any problems. It is probably a problem/leak within the language you are using. Possibly the Date.str() function too. b. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php