Re: memory usage issues in PEAR 1.4.0
| From: | Alan Knowles | Date: | Sat, 05 Mar 2005 03:49:44 +0000 |
| Subject: | Re: memory usage issues in PEAR 1.4.0 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-36544@lists.php.net to get a copy of this message | ||
I was thinking about this last night - the last step of the installer is
to copy the code from the /tmp folder to the live folder, I suspect by
the time that happens you would probably not need to load anymore
classes.. So lazy loading should not be a big issue.
Regards
Alan
On Fri, 2005-03-04 at 11:23 -0500, Greg Beaver wrote:
> Alan Knowles wrote:
>
> >Just looking through some of the code, assuming the numbers you gave are
> >correct, I suspect looking at lazy loading of alot of the classes when
> >they are needed, rather than bulk loading at the top of each file may
> >help alot..
> >
> >Regards
> >Alan
> >
>
> This will mean that when upgrading PEAR, fatal errors will always occur
> if any major changes are made in lazy-loaded files, because the newer
> file is included. For instance, downgrading to 1.3.5 from 1.4.0
> destroys the installation without the non-lazy loading.
>
> Greg
>
--
Alan Knowles <alan@akbkhome.com>