Apache OpenOffice (AOO) Bugzilla – Issue 16625
Selecting even simple drawings requires huge amounts of GDI resources
Last modified: 2003-09-08 16:52:24 UTC
The Drawing component uses so many GDI resources as to be close to useless under Windows 98SE: 1. Starting with 70% of GDI resources free (after starting the Drawing program). 2. Create a simple drawing containing: two lines three labelled arrows two small text boxes 3. Select the drawing, and free GDI resources immediately drop to 38% If, for example, one wanted to cut and paste this drawing into a Word Processor document, one is unable to do so reliably because the free GDI resources drop below 30%, at which point Win98SE is prone to crashes. FWIW, creating an identical diagram in Visio and then selecting it causes the GDI resources to drop by only 2% instead of by more than 30%.
It's interesting that the number goes low, and that Win98 usually crashes when the number goes low, but it would be more interesting if you could give us a recipe that reliably crashed OOo on Win98. e.g. "1. Open this drawing file 2. 'Select All' 3. 'Copy' 4 'New text document' 5 'Paste'. Windows will crash 30% of the time." Something like that would be terrific. Can you find such a recipe? Thanks!
I did what you described, and my "System Resources" never went below 52% free. ('Course, I have 384MB of RAM in my WinME laptop, but I think "System Resources" is GDI stuff and doesn't really take advantage of lots of RAM.) Opening a second drawing and pasting in the whole thing dropped me down to 49%. Each time I opened a new app, it went down 2%; each time I pasted the simple drawing it went down another 2%. I'm going to mark this one 'WorksForMe' until the original reporter posts a way to repeat the crash.
Created attachment 7538 [details] Drawing file
> I'm going to mark this one 'WorksForMe' until the original > reporter posts a way to repeat the crash. But you tried it on WinME. The report is for Win98SE. WinME uses a different mechanism for managing GDI resources. From a clean boot here is what happens to my GDI resources when I use the attached file: 1. Start: 82% 2. Start Drawing program: 75% 3. Start Word processor: 71% 4. Open attached document in Drawing program: 53% 5. Select the drawing: 37% 6. Copy to clipboard: 34% These numbers are consistent +/- 1 from a clean boot. If I am running any other programs (e.g., a Web browser) the numbers are obviously even lower. Once Win98SE goes below about 30% it generally becomes unstable -- not in the sense that there will be an immediate crash, but in the sense that you can expect either a crash or serious misbehaviour sometime within the next few minutes. So starting from a completely clean boot and performing the above sequence is not a problem -- but if one has some other program running as well (maybe a browser or an IM client), one is very likely to experience a crash. I am typing this having performed the above steps, but with Mozilla also open, and am at 29% free. If I were to open my IM client (which takes 6% resources) then there is a good chance that I would be unable to finish submitting this report because Win98SE would probably get very sick. (You are correct that GDI resources has nothing to do with RAM. I believe that in Win9x it is a fixed 64K block.) Now to see if I can successfully attach the test file I am using. (I have never done this before.) Doc
Sorry, but this is not reproduceable here. I have tested the behaviour on Win98 SE with the ressource display. According to your runtable here are my values: 1. 82% 2. 80% 3. 79% 4. 79% 5. 79% 6. 48% It wont go lower than 48 % than. What might help you: please have a look into the autostart directory: maybe there are some programs that are not necessary and can be deleted. Or there are utilities in the back eating up your ressources. Thanks for your help anyway.
Closed.
This problem still exists, might be not on eevery PC, but on mine, for example :-( This might be related to issue 15222 Rainer
I checked the problem with the attached testfile. Not always, but sometimes I was able to reproduce decreasing System- and GDI-resources from app. 55% to 25% when I selected the image. My system: PIII 667MHz, 128MB, WIN98SE Rainer
Rainer, thanks for keeping us honest :-) I agree it looks like issue 15222. I'm going to mark it duplicate - let's continue over there. *** This issue has been marked as a duplicate of 15222 ***
I see that problem with WIN98SE with 1.0.3.1, 1.1Beta2, 1.1RC1 Rainer