Issue 25638 - memory leak in search and replace
Summary: memory leak in search and replace
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1
Hardware: PC Windows XP
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Reported: 2004-02-18 08:46 UTC by tsprinzing
Modified: 2017-05-20 11:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
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
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 "".
Comment 6 Marcus 2017-05-20 11:26:11 UTC
Reset assigne to the default "".