Re: [CDBI] Re: Use of _remember_handle in db_Main causes slowdown/huge memory use

[prev] [thread] [next] [Date index for 2005/10/19]

From: Peter Speltz
Subject: Re: [CDBI] Re: Use of _remember_handle in db_Main causes slowdown/huge memory use
Date: 16:35 on 19 Oct 2005
Does anyone know whatever became of the Ima::DBI patch for this?  If i
remember Perrin posted a couple  on the old list.   I do not remember
an agreement being reached as if it should be applied and it appears
to not have been applied to the last release (sept. 5) of Ima::DBI.

Is the fix on the wiki what people are still using?

Thanks,

Peter



On 10/19/05, Edward J. Sabol <sabol@xxxxxxxx.xxxx.xxxx.xxx> wrote:
> David Jack Olrik writes:
> > This will make class variable __Database_Names grow each time db_Main
> > is called which is bad.
>
> Good catch!
>
> > Under mod_perl this it will not leak/slowdown much, except when we
> > lose the connection to the database, and _remember_handle is called
> > again.
>
> That's probably why no one noticed this before. Presumably, only mod_perl
> programmers were using Perrin's db_Main() fix.
>
> > Moving __PACKAGE__->_remember_handle('Main'); outside of db_Main fixes
> > the problem.
>
> I agree.
>
> > If no-one objects I'll update the wiki...
>
> Go for it.
>
> > Perrin: Any comments ?
>
> I don't think Perrin ever joined the new CDBI mailing list. He hasn't pos=
ted
> until after the transition, so I suspect he hasn't. You might want to e-m=
ail
> him directly.
>
> Later,
> Ed
>
> _______________________________________________
> ClassDBI mailing list
> ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
> http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
>


--
pjs

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

(message missing)

Re: [CDBI] Re: Use of _remember_handle in db_Main causes slowdown/huge memory use
Peter Speltz 16:35 on 19 Oct 2005

Generated at 19:52 on 24 Oct 2005 by mariachi v0.52