PDFedit Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000352 [PDFedit] =Other (GUI)= major always 04-28-10 06:15 05-11-10 10:37
Reporter olinart View Status public  
Assigned To hockm0bm
Priority normal Resolution open  
Status assigned   Product Version 0.4.3
Summary 0000352: Excessive cpu usage
Description This report was requested by Michal Hocko. It may help with debugging several related issues.
The problem is very large CPU useage when editing (specifically adding text) to a page containing a large graphic. The uploaded file provides an example - one can edit most pages, but page 3 with the large graphic takes a long time. The memory use is pretty constant, so likely not a memory leak. The symptoms are consistant with entering a loop over all characters on the page. Fix is likely to limit the loop to text objects instead of the whole page.
I've seen this with dozens of files, so I don't think it's a file pathology.
I believe most of the files I've seen this with are produced by latex with eps graphics.
Additional Information
Attached Files

- Relationships

- Notes
(0001032)
olinart
04-28-10 06:23

The upload of my test file failed, although it was within the size limit. Please
get the file http://trshare.triumf.ca/~olin/Compressionv6.pdf. [^]
 
(0001033)
hockm0bm
04-28-10 08:56

I cannot upload it as well. This is probably a tracker error. I have downloaded the file locally. Thanks for reporting.
 
(0001067)
olinart
05-10-10 19:18

This issue appears to be resolved in version 0.4.4.1. Thanks for the good work.
 
(0001068)
hockm0bm
05-11-10 10:37

Hmm, this is strange. I am not aware of any change that could fix an excessive CPU usage.

I have tried to add some text to the page 3 in both 0.4.3 and the current CVS snapshot and both seem to behave same way.
Could you be more specific about the steps for reproduction, please?
 

- Issue History
Date Modified Username Field Change
04-28-10 06:15 olinart New Issue
04-28-10 06:23 olinart Note Added: 0001032
04-28-10 08:56 hockm0bm Note Added: 0001033
05-10-10 19:18 olinart Note Added: 0001067
05-11-10 10:34 hockm0bm Status new => assigned
05-11-10 10:34 hockm0bm Assigned To  => hockm0bm
05-11-10 10:37 hockm0bm Note Added: 0001068