in reply to Class::DBI and create: program memory just grows and grows
update: I messed around a little with Devel::Leak (adding the relevant bits around the for-loop, and changing the number of iterations to 1000)
5.6.1 => BEFORE(30692) AFTER(30808) => 116 5.8.0 => BEFORE(29653) AFTER(31774) => 2121So the loop creates approximately 2005 more scalars in perl 5.6.1, which does seem to confirm the memory leak theory.
update: nice followup -- it's too easy to make memory leaks in perl and XS -- i'll give it a closer look later (examine my DBI/DBD-SQLite versions and so on).
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | |
| I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | |
| ** The third rule of perl club is a statement of fact: pod is sexy. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Class::DBI and create: program memory just grows and grows
by shenme (Priest) on Sep 18, 2003 at 01:30 UTC | |
|
Re: Re: Class::DBI and create: program memory just grows and grows
by shenme (Priest) on Sep 18, 2003 at 08:04 UTC |