Project

General

Profile

Actions

Bug #22153

closed

IRRE wastes memory

Added by Franz Holzinger almost 15 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2010-02-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If I want to edit a record in TCE, it hangs with the error message in TYPO3 4.4trunk:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2097152 bytes) in /var/www/html/trunk/t3lib/class.t3lib_tceforms_inline.php on line 800

It reseves 2 MByte RAM only for each call in the for loop.

The patch will reduce the additional memory consumption to only 72 bytes.

(issue imported from #M13603)


Files

irre-memory-1.diff (498 Bytes) irre-memory-1.diff Administrator Admin, 2010-02-22 11:26
13603-2.diff (506 Bytes) 13603-2.diff Administrator Admin, 2010-02-22 14:30
patch-22153-1.diff (809 Bytes) patch-22153-1.diff Franz Holzinger, 2013-05-24 22:38
patch-22153-2.diff (661 Bytes) patch-22153-2.diff Franz Holzinger, 2013-05-24 22:38
Actions #1

Updated by Franz Holzinger almost 15 years ago

The function splitGroupOrderLimit must always have a maximum limit. Consider the result of 10 000 tables which would use all the memory by the IRRE feature. A select box with more than 1000 entries would never be usable. So do not call more records!

Actions #2

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

Hi Franz,

did this already go into a version of TYPO3? Or can you bring it into Gerrit?

Updated by Franz Holzinger over 11 years ago

Here come the patches for TYPO3 6.0.6.

Actions #4

Updated by Alexander Opitz over 11 years ago

Can you bring it into Gerrit?

Actions #5

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to New
Actions #6

Updated by Benni Mack almost 10 years ago

  • Is Regression set to No

Hey Franz,

can you share your experience? Just from the report and the patches I don't see why IRRE consumes so much memory and when?

Actions #7

Updated by Benni Mack almost 10 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Benni Mack
  • Target version set to 7.1 (Cleanup)
Actions #8

Updated by Benni Mack almost 10 years ago

  • Status changed from Needs Feedback to Closed

no feedback so far. please send me an email if you still experience the problem with 6.2 and I will re-open the issue.

Actions

Also available in: Atom PDF