Apache OpenOffice (AOO) Bugzilla – Issue 96090
Increasing memory usage when opening several presentations
Last modified: 2017-05-20 11:11:17 UTC
When opening and displaying several presentations, the memory for previous presentations is not freed, resulting in massive memory usage over a relatively short period of time (i.e. 24 hours). The attached Python script will show an increase in memory used by X, because OpenOffice isn't cleaning up after itself. The easiest way to see the increase is using 'xrestop'.
Created attachment 57870 [details] Python script to reproduce issue
Reassigned. Please have a look. Thanks.
cl->hdu: is that an x server issue?
@cmc: you have this nice tool xresgrind that could answer cl's question... Other than that this issue reminds me of issue 97906 (X resource usage in presentation)
The majority of this is definitely 102142 anyway, i.e. I'll attach results before/after that patch wrt usage. So I'd call it a duplicate of that, as the runaway effect can be seen in the attached results. (With patch for 102142 in place its still a little hard with the tooling to determine if there's another continual leak, or a little bit of bouncing around a stable cache position. Tooling can't distinguish between pixmaps/windows that are definitely leaked or those that are stuck into a endless-growing-cache or something like that where there are "effectively" leaked, but get released on exit so aren't "definitely" leaked.)
Created attachment 62847 [details] current OOo
Created attachment 62848 [details] patched OOo
sorry, those are transposed, but summary here..., i.e. Before: start... windows : 40 pixmaps : 96 pictures : 29 unknowns : 26 end... windows : 58 pixmaps : 120 pictures : 36 unknowns : 44 After: start... 5 - OpenOffice.org ( PID:18290 ): windows : 40 pixmaps : 96 pictures : 29 unknowns : 26 end... windows : 40 pixmaps : 96 pictures : 29 unknowns : 26
@cmc: wonderful, thank you! @af: as Caolan pointed out issue 102142 is the most probable root cause so this issue is a dupe. The test script here is too good to just close this issue too soon.
Created attachment 62852 [details] slightly tweaked script to bump xrestop results for OOo after each sleep
Setting target to OOo 3.3.
Changing target.
set target to 3.x since they are not release relevant for 3.4
Reset assigne to the default "issues@openoffice.apache.org".