Project

General

Profile

Actions

Bug #17045

closed

T3D Export crashes with memory exhausted

Added by Benjamin Geyer about 17 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2007-02-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

While exporting a larger tree as T3D File the sysext class.tx_impexp.php exits with php error Memory exhausted.
Looking at the source I found at line 183: @ini_set = 256m
Setting this to a value higher than 1024m temporarily resolves the problem.
This is no real solution IMHO.
I din't find any reasons why the memory consumption ist that high.
Any hints?

(issue imported from #M5077)


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #17020: class.tx_impexp.php wants 256m memory_limitClosedGeorg Ringer2007-02-20

Actions
Related to TYPO3 Core - Bug #18926: class.tx_impexp.php sets 256m memory_limit without checking php.iniClosedGeorg Ringer2008-06-09

Actions
Has duplicate TYPO3 Core - Feature #27272: Configurable T3D export memory limitClosed2011-06-07

Actions
Actions #1

Updated by Oliver Hader about 17 years ago

If you have many files in a page branche they are going to be exported as well. I guess that tx_impexp loads them into memory and finally puts aut the T3D file.
The import/export functions have to be rewritten for TYPO3 4.2.

Actions #2

Updated by Stefan Neufeind almost 13 years ago

Still experienced large memory-consumption in 4.5.x lately. When exporting a large tree that can easily outgrow "reasonable" limits. Lately had a website and tried to export with 1GB RAM. Needed to bump it to around 12GB to finally get an export. (Okay, which failed on import then - but that's another story.)

Also even taking into account all files (graphics) on the filesystem would have been a lot less than 2GB. So I assume they get copied around in various places, serialized or whatever.

Splitting exports into multiple parts sometimes just isn't an option because of dependencies between objects and IDs.

Actions #3

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change I3e690eea1a079ed6cadd548230afc405e005b115 has been pushed to the review server.
It is available at http://review.typo3.org/2610

Actions #4

Updated by Steffen Gebert almost 13 years ago

  • Category set to Backend API
  • Assignee changed from Bernhard Kraft to Georg Ringer
  • Target version changed from 0 to 4.6.0-beta1
Actions #5

Updated by Georg Ringer almost 13 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Xavier Perseguers about 12 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Ernesto Baschny almost 11 years ago

  • Target version deleted (4.6.0-beta1)
Actions

Also available in: Atom PDF