Memory peak when indexing pdf files

Author Message

Fabien Mas

Thursday 15 May 2008 7:19:15 am

Hi,

EZPublish version :3.9.2

I have an "allowed memory size exhausted" error when I put a pdf file > 80 ko into the admin interface.
I tried to look into ezsearchengine (-> addobject) and eZCharTransform classes but it's not so easy to modify them

Any one has a solution ?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 20 2025 17:27:44
Script start
Timing: Jan 20 2025 17:27:44
Module start 'layout'
Timing: Jan 20 2025 17:27:44
Module start 'content'
Timing: Jan 20 2025 17:27:44
Module end 'content'
Timing: Jan 20 2025 17:27:44
Script end

Main resources:

Total runtime0.0139 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 587.9375151.2109
Module start 'layout' 0.00460.0025 739.148436.6484
Module start 'content' 0.00710.0055 775.796986.0469
Module end 'content' 0.01260.0013 861.843829.9922
Script end 0.0139  891.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002216.1749140.0002
Check MTime0.00106.9603140.0001
Mysql Total
Database connection0.00075.181210.0007
Mysqli_queries0.002316.487130.0008
Looping result0.00000.101210.0000
Template Total0.00106.910.0010
Template load0.00085.505410.0008
Template processing0.00021.403410.0002
Override
Cache load0.00053.942510.0005
General
dbfile0.00128.885280.0002
String conversion0.00000.049840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs