Development

#3151 (extract causes out of memory error)

You must first sign up to be able to contribute.

Ticket #3151 (closed defect: wontfix)

Opened 7 months ago

Last modified 5 months ago

extract causes out of memory error

Reported by: zoltan.nemeth Assigned to: fabien
Priority: minor Milestone:
Component: view Version: 1.0.10
Keywords: view out of memory error Cc:
Qualification: Unreviewed

Description

if you have many variables, the extract call which sets them up for the template can cause out of memory error on line 95 of sfPHPView.class.php

this could be resolved by changing line 95 to:

extract($this->attributeHolder->getAll(), EXTR_REFS | EXTR_OVERWRITE);

Change History

03/18/08 16:04:11 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

in r7949

03/18/08 16:04:24 changed by fabien

  • milestone set to 1.1.0.

05/21/08 17:09:08 changed by fabien

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone deleted.

05/21/08 17:09:47 changed by fabien

(In [9151]) reverted r7949 (refs #3151, closes #3595)

05/21/08 17:10:11 changed by fabien

  • status changed from reopened to closed.
  • resolution set to wontfix.

reverted because of #3151