Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-11 Thread fab2008
fab2008 wrote: > > > Luke Richards wrote: >> >> >> class Yourlibrary_Mail_Transport_Smtp extends Zend_Mail_Transport_Smtp >> { >> /** >> * Send a mail using this transport >> * >> * @param Zend_Mail $mail >> * @access public >> * @return void >> * @throws Ze

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread fab2008
Luke Richards wrote: > > Hi, > > We use the Zend_Mail classes where I work and we're sending a lot of > emails. It was a while ago but I think we had the same problem running > out of memory. We tracked the problem down to the ZF SMTP transport. If > you are using that try overriding it with

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread Luke Richards
Done http://framework.zend.com/issues/browse/ZF-8278 Matthew Weier O'Phinney wrote: -- Luke Richards wrote (on Tuesday, 10 November 2009, 02:28 PM +): We use the Zend_Mail classes where I work and we're sending a lot of emails. It was a while ago but I think we had the same problem run

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread fab2008
keith Pope-4 wrote: > > 2009/11/10 fab2008 : >> >> >> drm-4 wrote: >>> >>> Did you ever find out what was going on? > > Have you tried using clearstatcache() ? > In which manner it could be related to my problem? How to use it, at the end of the loop? -- View this message in context: http:/

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread Matthew Weier O'Phinney
-- Luke Richards wrote (on Tuesday, 10 November 2009, 02:28 PM +): > We use the Zend_Mail classes where I work and we're sending a lot of emails. > It > was a while ago but I think we had the same problem running out of memory. We > tracked the problem down to the ZF SMTP transport. If you ar

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread Luke Richards
Hi, We use the Zend_Mail classes where I work and we're sending a lot of emails. It was a while ago but I think we had the same problem running out of memory. We tracked the problem down to the ZF SMTP transport. If you are using that try overriding it with the following code. We found the pr

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread keith Pope
2009/11/10 fab2008 : > > > drm-4 wrote: >> >> Did you ever find out what was going on? >> >> > > No, I haven't. I upgraded to 1.9.5 (from 1.9.4) and I raised memory limit to > 512M. I've also added some log messages in my application, this is the > result in the last few days: > > 2009-11-08T15:24:

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread fab2008
drm-4 wrote: > > Did you ever find out what was going on? > > No, I haven't. I upgraded to 1.9.5 (from 1.9.4) and I raised memory limit to 512M. I've also added some log messages in my application, this is the result in the last few days: 2009-11-08T15:24:06-05:00 INFO (6): Peak memory usage

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread drm
Did you ever find out what was going on?

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-09 Thread Ralph Schindler
I would inspect whats going on inside that user loop. It seems like perhaps in that loop either some objects are growing, or memory is being lost somehow, OR your database result set when iterating is actually larger than 500M. Are you using Zend_Db_Table for this? Are the rows being stored

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-07 Thread Fabio Napoleoni
Il giorno 06/nov/2009, alle ore 22.59, Kevin McArthur ha scritto: Ralph, normally you'd be right, but since that allocation is 500 megs in one-shot. It should be near the code that is the problem. Would have to see what he's doing but im guessing a massive attachment? If it was a pecked-

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-07 Thread Fabio Napoleoni
Il giorno 06/nov/2009, alle ore 22.59, Kevin McArthur ha scritto: Ralph, normally you'd be right, but since that allocation is 500 megs in one-shot. It should be near the code that is the problem. Would have to see what he's doing but im guessing a massive attachment? There is no attachm

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-05 Thread fab2008
jollyr0ger wrote: > > Hi, > my ZF application runs perfectely with 16mb of memory (into php.ini) on my > dev machine. > > The same code on the public hosting (limit to 64mb of memory) returns > error like: > "Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to > allocate 5326