I'm using DBI/DBD::Sybase (Perl 5.8 Solaris 2.9 Sybase OCS 1250_8) to insert multiple (100s) of records to a sybase database in a while loop and it appears that the memory consumption of the Perl process keeps on growing (as watched by the prstat or top utilities). Variations on how the inserts are done (e.g., stored procedures vs. direct sql vs selects within inserts) affect the rate of growth - but the growth is there nevetheless. This is true for older versions of DBD::Sybase (0.94 and 0.95) but also for the latest one (1.0).
This seems to point at the possibility of a memory leak in DBD::Sybase since all Perl variables are local to the while loop and the database handle is destroyed at the end of the loop. Search on the Internet indicates that people used to have some problems with that in the past (e.g.,2 years ago) and some partial modifications to the C code of teh library have been posted but it would seem that the problem should be fixed by now.
Any thoughts ?