Issue 23759

Summary: Find and Replace eats too much memory (crashing most systems)
Product: Writer Reporter: lkaratzas <lkaratzas>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P2 CC: dm, issues, stefan.baltzer, utomo.prawiro
Version: OOo 1.1 RCKeywords: oooqa
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
An MSWord Greek-Turkish file with a lot of soft hyphens none

Description lkaratzas 2003-12-21 15:08:48 UTC
While I was trying to replace 27000 soft hyphens in a 40 page file with nil,
both the Linux and the Windows versions of Oo crashed. The linux version in
particular slowed down progressively and finally took down the OS with it. In
MSWord the same replacement lasted one second and took place without a hitch.
Could this be a memory leak?
Comment 1 lkaratzas 2003-12-21 15:13:10 UTC
Created attachment 12048 [details]
An MSWord Greek-Turkish file with a lot of soft hyphens
Comment 2 h.ilter 2003-12-22 13:12:37 UTC
HI-MRU: MS-File; Alone the load takes a lot of time. Please analyse.
Comment 3 h.ilter 2004-01-05 09:02:27 UTC
Additional comments from submitter via mail:
The only thing I can add is that the search and replace starts off as if having
a lot of steam and slowly slows down to a crawl and final crash in Linux and to
a message about some kind of memory being insufficient in Windows.
Comment 4 michael.ruess 2004-01-06 14:51:02 UTC
Original Issue is now handed over to SBA (Master of F&R).
Performance on import will be investigated and when necessary file as new issue.
Comment 5 stefan.baltzer 2004-07-19 17:55:30 UTC
SBA->FME: I could reproduce this with 680m45 on Win2000. Please have a look.
Comment 6 stefan.baltzer 2004-07-20 11:51:56 UTC
SBA+FME: Looks like the Undo Stack is getting too big. Not exactly endlessly (=>
no memory leak) but nevertheless far mot e memory than most machines can handle.
Workaround: Set text attributes to "Standard" and make the replacement in
smaller chunks. 
Not broken, target set to OOo later.
Reassigned to Hbrinkm.
Comment 7 utomo99 2007-01-31 04:00:01 UTC
to sba, 
is there any progress since 2004 ? 
Thanks
Comment 8 Marcus 2017-05-20 11:19:49 UTC
Reset assigne to the default "issues@openoffice.apache.org".