Posted: Sun Mar 09, 2008 4:13 pm Post subject: Memory leak in Calc
I may have stumbled upon a memory leak bug in the Calc component of Neooffice. I don't know if it's a bug with the openoffice.org underlying code, but I am working on a file and I noticed this weird behaviour whereby when I want to delete rows from this Excel (.xls) file which contains a long list of names using the "Command" key to choose multiple, non-consecutive lines, I get a warning window titled "Neooffice 2.2" which states "Warning: The content was not copied to the clipboard." I then acknowledge the window by pressing on the "OK" button, which makes the window disappear. However, since I do this quite a lot on this file, over time, I see my swap files become bigger and bigger, and I verified that Neooffice is the culprit with Activity Monitor. At some point, I have to quit Neooffice to bring back the swap files to a reasonable size. I'm using Neooffice 2.2.2 patch 11 on PowerPC running Mac OS X 10.5.2.
I know I might be short on details, but if you want more info, or a copy of the file I'm working on, you just have to ask.[/b]
My first idea would be to eliminate NeoOffice's "Undo buffer" as the cause by trying the following:
1. Select the Tools :: Options menu
2. In the dialog that appears, select NeoOffice :: Memory
3. Lower the Undo :: Number of Steps field to something small like 10 (mine is set at 100) and click the OK button
4. Restart NeoOffice
Does this cause memory to stay within reasonable levels?
Your idea did help quite a bit. I tested it for a few hours, but in the end, my swap files were still getting bigger, only at a much, much lower rate than before, so Neooffice was much more usable. I still want to thank you for your quick answer.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum