Search found 3 matches

by infamy
Wed Jan 09, 2013 12:31 am
Forum: Zend Framework
Topic: ZF1 Registry - large objects?
Replies: 2
Views: 936

Re: ZF1 Registry - objects with circular references?

It turns out serializing the object fixes this. I suspect that Zend_Registry cannot handle the Front Controller's circular self-reference and tries to re-build an infinite number of them. Noted on the help page @ http:// framework[dot]zend[dot]com/manual/1.12/en/zend.registry.using.html#comment-7605...
by infamy
Tue Jan 08, 2013 8:06 pm
Forum: Zend Framework
Topic: ZF1 Registry - large objects?
Replies: 2
Views: 936

Re: ZF1 Registry - large objects?

On further investigation, I managed to get the error

Something is attempting to allocate approximately 300 meg which is killing off PHP - I will look into the cause further when I can and raise a bug if apt.
by infamy
Tue Jan 08, 2013 7:49 pm
Forum: Zend Framework
Topic: ZF1 Registry - large objects?
Replies: 2
Views: 936

ZF1 Registry - large objects?

Hi there, I'm having an odd looking issue with the registry. I'm attempting to store a router object in it, but for some reason it appears to be lost into invalid memory or something. When I attempt to store an object of type Zend_Controller_Router_Rewrite, it succeeds, but attempting to access that...