Issue 25638

Summary: memory leak in search and replace
Product: Writer Reporter: tsprinzing <thomas_sprinzing>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: dm, issues
Version: OOo 1.1Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description tsprinzing 2004-02-18 08:46:19 UTC
steps to reproduce:

get a looong text. (600+ pages)
Do a search & replace, Regex optio ticked, 
search:  .\n
replace with .\n  format: bold

press replace all  watch oo's  memory usage increase without bounds.
Comment 1 lohmaier 2004-02-20 22:20:26 UTC
duplicate of issue 21439 ?
Comment 2 h.ilter 2004-03-02 15:05:29 UTC
Reassigned to SBA
Comment 3 dimitri 2004-07-01 11:42:19 UTC
this is not only true for regular expressions but also for "simple" search and
replace actions (e.g. replace 'a's with 'b's or change font size from 10 to 12.

*sometimes*, oo requests that you turn off undo; 

whatever you do, however, the memory taken up is not released, until you exit
the program and then there might be some lacking.

My example (I have 256M memory on this machine): 
  Free memory 212M,
  open 1.1.1 -- 202 M,
  load a 2Mb text file -- 184M,
  replace a with b -- 178M,
  close file (discard changes) -- 179 M,
  close openoffice -- 201M
  (hmmmmm.......)
Comment 4 stefan.baltzer 2004-07-26 11:57:28 UTC
SBA-> Hbrinkm: Probably a duplicate of issue 23759. Please set accordingly and
close or reassign to the appropriate owner.
Comment 5 Marcus 2017-05-20 11:24:48 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 6 Marcus 2017-05-20 11:26:11 UTC
Reset assigne to the default "issues@openoffice.apache.org".