View Issue Details

IDProjectCategoryView StatusLast Update
0007690ScribusGeneralpublic2009-01-09 21:20
Reporterwikijeff Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version8.10 (64bit)
Product Version1.3.5svn 
Fixed in Version1.3.5svn 
Summary0007690: memory leak in story editor when switching between SE and canvas
DescriptionWhen performing multiple Search/Search-and-Replace operations within the Story Editor each successive search operation fills greater amounts of system memory. Even after exiting the Story Editor, none of the reserved memory is ever retuned to the Operating System as free. I have observed the amount of RAM reserved by the Scribus process exceed 3.5-GB of system memory due to this bug.
Steps To Reproduce(1) Open an fairly large Scribus document with say 50-pages of text...
(2) Make note of the amount of RAM reserved by the Scribus process in top/GNOME System Monitor, etc...
(3) Perform multiple search and search/search-and-replace operations within the same Story Editor instance...
(4) Watch the amount of RAM used by Scribus grow...
(5) Repeat Searches/Replace functions until you are satisfied that you have reproduced the issue. Try not to crash your system or beat-up your swap partition too much in the process. :-)
Additional InformationIt might be wise to add a hot key for the Search function. If you don't want to use CTRL+F, consider using the older standby F3 for this purpose. If you require additional information, please let me know.
TagsNo tags attached.
Patch

Activities

jghali

2008-12-27 22:43

administrator   ~0020847

My testings have not allowed me to reproduce any noticeable issue related to search and replace. However an important memory leak issue can be reproduced using one of this way :
1) new doc, new text frame, insert dummy text, open story editor, switch between story editor and canvas and watch memory usage grow
2) new doc, new text frame, insert dummy text, clear content, insert dummy text, clear content, ... and watch memory usage grow
This specific issue is now fixed

cbradney

2009-01-01 17:06

administrator   ~0020859

Are you able to retest with current svn? We are unable to reproduce your specific steps however Jean has found other issues.

jghali

2009-01-04 21:46

administrator   ~0020866

resolving this one with a different subject

Issue History

Date Modified Username Field Change
2008-12-27 01:02 wikijeff New Issue
2008-12-27 22:43 jghali Note Added: 0020847
2009-01-01 17:06 cbradney Note Added: 0020859
2009-01-01 17:06 cbradney Status new => feedback
2009-01-04 21:45 jghali Summary Memory Leak in Story Editor Search and Replace Function => memory leak in story editor when switching between SE and canvas
2009-01-04 21:46 jghali Note Added: 0020866
2009-01-04 21:46 jghali Status feedback => resolved
2009-01-04 21:46 jghali Fixed in Version => 1.3.5svn
2009-01-04 21:46 jghali Resolution open => fixed
2009-01-04 21:46 jghali Assigned To => jghali
2009-01-09 21:20 cbradney Status resolved => closed