Thanks Justin,

I found the problem. I am using the OOP with sessions. The idea is use um
object and put it into the session and change it when is necessary. However,
instead of change the information in the object and then change the object
that is in the session, it is adding more information in the object. As a
result, my "session" has the size increased from 1 to 5, from 5 to 15, from
15 to 40, etc...

Is there any way to destroy the object in PHP?

Thanks.

"Justin Patrin" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Andre Matos wrote:
> > Hi List,
> >
> >
> >
> > Two months ago I developed a project using PHP and MySQL without
problem.
> > Now, I am developing using PHP and MySQL, but using PHP Object Oriented.
> >
> >
> >
> > My problem is that the access is become slowly after few accesses or if
I
> > perform a reload some times. The unique way to revert is to restart the
> > Apache.
> >
> >
> >
> > Is anyone had this problem? Is this problem related to PHP OO or may
> > something that I used in my programs?
> >
> >
> >
> > Thanks.
> >
> >
> >
> > Andre
> >
> > [EMAIL PROTECTED]
>
> Pretty much all of the larger PHP systems around are OO. PEAR is OO. If
> OO was the problem, it would have been fixed far before now. Likely
> you're using more resources inadvertently or not closing resources. Try
> checking specific functions to see if they're slowing you down. If you
> need more help, post some code and it will get looked at.
>
> -- 
> paperCrane <Justin Patrin>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to