in reply to Re: How we use Perl.
in thread How we use Perl.

Not at all! DBI is a great package and DBD::Sybase works well. It's safe to say we wouldn't have been able to get this far without DBD::Sybase.

Also, I know that the connect/disconnect leak is a bugger. I tried to find it myself. I'm pretty sure that it is in on the sybase api side. But Sybase isn't interested in fixing it -- probably because they are fighting to stay in business.

I'm just trying to point out some of the pitfalls of running Perl for a long time. Test packages you intend to use over a long time and benchmark Memory consumption.

"Look, Shiny Things!" is not a better business strategy than compatibility and reuse.


Replies are listed 'Best First'.
Re^3: How we use Perl.
by mpeppler (Vicar) on Nov 08, 2004 at 15:32 UTC
    Actually from my testing the leak is in allocating/deallocating the CS_LOCALE structure. If you run a connect/disconnect loop written in C that doesn't allocate a CS_LOCALE struct then the memory usage is dead even for thousands of iterations. If you add the CS_LOCALE alloc/dealloc the memory grows.

    I may decide to open a tech support case on this issue to see if I can get this escalated.