in reply to Memory leak with DBD::Sybase ?

There is a known leak if you close/open connections a lot. So if you have coded your loop to open a connection, insert a row and then close the connection then you are definitely going to see that leak.

You should try to avoid opening and closing connections any more than necessary.

Michael

Replies are listed 'Best First'.
Re (2): Memory leak with DBD::Sybase ?
by VSarkiss (Monsignor) on Jun 05, 2003 at 19:18 UTC

    You should try to avoid opening and closing connections any more than necessary.
    This is good advice, regardless of whether there's a memory leak or not. Opening and closing connections can be very time-consuming, particularly if the database is remote.