Project

General

Profile

Actions

Bug #88235

closed

Ext: form file upload Memory error when file size exceeds available memory

Added by Susanne Moog about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Form Framework
Target version:
-
Start date:
2019-04-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Remote Sprint

Description

Original Report: https://forge.typo3.org/issues/88055

How to reproduce:
- Upload file which is smaller than post_max_size/max_upload_size php settings but larger than available php memory.

Error shown:
Allowed memory size of 134217728 bytes exhausted (tried to allocate 215859576 bytes) in typo3/sysext/form/Classes/Slot/FilePersistenceSlot.php on line 143

Suspected cause
Use of file_get_contents which would store complete contents of file in memory.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #88055: Faulty error-handling when uploading large filesClosedSusanne Moog2019-04-02

Actions
Actions #1

Updated by Susanne Moog about 5 years ago

  • Related to Bug #88055: Faulty error-handling when uploading large files added
Actions #2

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60596

Actions #3

Updated by Gerrit Code Review about 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60603

Actions #4

Updated by Anonymous about 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF