Closed Bug 21360 Opened 26 years ago Closed 26 years ago

System resource being depleted when pasting text into Composer

Categories

(Core :: DOM: Editor, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: pmock, Assigned: buster)

Details

Attachments

(1 file)

Build Date & Platform Bug Found: Win32 commercial seamonkey build 1999-12-08-16-m12 installed on P166 Win98 Overview Description: When I paste a large amount of text (33K) in to Page Composer with HTML mail editor, windows 98 system resources drop to zero. System and GDI resources drops dramatically from ~80 percent to zero. Seamonkey stops responding at this point. A error message appears saysing that 90 percent or more of the resources are in use and to quit out of some application that I am not using. I close this warning dialog then have to cntrl+alt+delete to kill the seamonkey application. The system and GDI resources free up only a small amount of memory, aprox less than 10 percent each. The user resources remain constant around 80 percent. I have not seen an situation like this were windows resources would be depleted in on relative small operation. I will include the text file that I'm copying text from. Steps to Reproduce: 1) Reboot Windows 98 then log into the network 2) Launch the utility System Resources that comes on the Windows 98 CD. 3) Write down the resouces available. On my PC, the meter displays the following resources: System = 94 percent, User = 94 percent, and GDI = 98 percent 4) Launch Seamonkey thru the Start->Program->Seamonkey program icon A browser windows opens 5) Open the Page Composer 6) Write down the resouces available. On my PC, the meter displays the following resources: System = 84 percent, User = 89 percent, and GDI = 84 percent 7) Launch notepad 8) Open my sample text file in notepad 33K file. 9) Select all the text and copy to clipboard 10) Write down the resouces available. On my PC, the meter displays the following resources: System = 83 percent, User = 88 percent, and GDI = 83 percent 11) Insert you cursor into the blank page then press control+v to paste the text from the clipboard. No text is pasted. A warning message of low resources appear. 12) Click ok to dismiss the message Notice no text was pasted. 13) Look at your ms-dos/terminal window, it reads ->>>>write clipboard to memory ->>>>read clipboard to memory 14)Write down the resouces available. On my PC, the meter displays the following resources: System = 0 percent, User = 88 percent, and GDI = 0 percent Actual Results: When I try to paste a large body of text into Page Composer or html mail composer, the operation does not succeed. No text is pasted. System and GDI resources are at zero. I forced to reboot the PC to free up resources. I can cntrl+alt+delete to kill seamonkey but it does not restore the System and GDI resources. They are at less than 10 percent. Expected Results: It should be able to paste my selected text. It should not drain or tax the computer system and gdi resources. Additional Builds and Platforms Tested On: Additional Information: I have not tried this test on linux or mac.
Attached file 33k notepad file —
Assignee: beppe → buster
assigning this one to buster for review
rod, pink, any clues? sujay, could you test this with a file that is 31K? I seem to remember that 32K is a magic number for Win95 and Win98. If that still fails, could you step it down by 1K until you find where it works? That might be a huge help in narrowing this one down, if we could find the size limit where it occurs.
i did just fix a big memory leak (we'd leak the entire data we pulled off the clipboard) yesterday. maybe that might help.
Peter or Sujay, could you retest with a build that includes pinkerton's memory leak fix?
Target Milestone: M12
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Re-tested using win32 commercial seamonkey build 1999-12-12-08-m12 build. I can successfully paste the contents of my 33K test file into Page Composer or the html mail editor. It looks fixed (at least for me). Note: when pasting, it takes an extremely long time to paste the contents. On a 33k file, it took about 5 minutes timing it. With smaller paste operation, it takes less time. Seamonkey appears locked up during this time. I will log a performance bug separately. Side note: In my original steps to reproduce this problem, I make a mistake in step 7. You open Wordpad and not notepad. (typo). Resolving this bug as fixed.
Status: RESOLVED → VERIFIED
Verified as fixed using win32 commercial seamonkey build 1999-12-12-09-12. The build I was using can be located here: ftp://sweetlou/products/client/seamonkey/windows/32bit/x86/1999-12-12-09-M12/ seamonkey32e.exe
Buster and Sujay, If you disagree, please re-open this bug.
On the performance issue, I logged bug 21588
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: