Welcome to NeoOffice Forums
NeoOffice
 
Official online support site for NeoOffice

Trinity
· Home
· Private Messages
· Your Account


RSS Feeds
· NeoOffice Releases
· Forum Posts
· Beta Releases
· Headlines


Twitter Feeds
· @NeoOffice


Download NeoOffice
· Get NeoOffice
· Get the Latest Patch
· Language Packs
· User Guide
· User Guide Volume 2


Other Websites
· NeoOffice.org
· NeoWiki


Languages
Select Interface Language:



  
trinity.neooffice.org :: View topic - Writer Crashes
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 

Writer Crashes
Users who have purchased direct support within the last year can post
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Support
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11397
Location: California, USA

PostPosted: Thu Aug 23, 2012 1:23 pm    Post subject: Reply with quote

gbh wrote:
Another shot. This one was after working on a document for 10 minutes or so with various edits to spreadsheets in writer.


That definitely confirms my theory in my last post. NeoOffice's memory usage is nearly 2 GB in your screen snapshot.

Until I have a fix, I definitely recommend that you quit and restart NeoOffice when NeoOffice's memory usage is more than 1 GB.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
gbh
Councilperson


Joined: Jul 28, 2007
Posts: 165

PostPosted: Thu Aug 23, 2012 1:33 pm    Post subject: Reply with quote

This will be my last comment on this so I won't drive you crazy, but as I keep on working in the document it is now up to 2.06GB memory for NeoOffice. It does seem to keep growing.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11397
Location: California, USA

PostPosted: Thu Aug 23, 2012 9:47 pm    Post subject: Reply with quote

I think that I have fixed the memory leak that is causing the crash that you and your colleague are seeing.

Can you install the following test patch and tell us if you are seeing memory usage in Activity Monitor grow rapidly like it was before? You don't need to run until it crashes. Just test if memory usage stays under 1 GB:

Intel:
http://sally.neooffice.org/test/NeoOffice-3.3-Patch-0-Test-1-Intel.dmg

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 534
Location: Edinburgh, Scotland

PostPosted: Fri Aug 24, 2012 1:28 am    Post subject: Reply with quote

I can reproduce gbh's memory leak problem with NeoOffice 3.3 on OS X 10.7.4.
I've now installed Patch 0 Test 1 and the problem remains.

Steps I used:
- Open NeoOffice and a new Writer document
- Insert::Object::OLE Object…
- Select "Create New" and NeoOffice 3.3 Spreadsheet. Click OK
- Enter some text in the spreadsheet
- Click out of the spreadsheet
- Double click the spreadsheet to enter it
- Repeat the last two steps.

Watching NeoOffice's Real Mem amount in Activity Monitor shows it gaining around 20MB every time I double click the spreadsheet or deselect it.

Andy
Back to top
View user's profile Send private message Visit poster's website
gbh
Councilperson


Joined: Jul 28, 2007
Posts: 165

PostPosted: Fri Aug 24, 2012 7:45 am    Post subject: Reply with quote

I concur with amayze and can confirm that the amount in memory keeps growing as before with the patch.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11397
Location: California, USA

PostPosted: Fri Aug 24, 2012 9:22 am    Post subject: Reply with quote

I did not claim that NeoOffice would have zero growth in real memory with the test patch and closing each document. That is why I asked to see if it stayed under 1 GB of memory usage.

I will recheck NeoOffice using amayze's steps but since I no longer see any memory leaks when running NeoOffice in Apple's Instruments developer tool, there are no obvious memory links left to fix in the gbh's original enter and exit an embedded spreadsheet case so I would like to know the answer to my original question question: does memory usage stay below 1 GB with the test patch?

I suspect that both of you are seeing memory usage from NeoOffice's underlying OpenOffice.org code caching undo operations, graphics, and/or object caches and memory usage. Memory usage from these caches will grow until those caches are full.

BTW, the sizes for each of these caches can be raised or lowered by selecting the Tools :: Options menu and, in the dialog that appears, select the NeoOffice :: Memory item.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
gbh
Councilperson


Joined: Jul 28, 2007
Posts: 165

PostPosted: Fri Aug 24, 2012 10:06 am    Post subject: Reply with quote

Sorry I was not more clear. For example, I have been working on a document for about 25 minutes and the memory is up to 1.77 GB already, going up consistently. The big jumps are when going in and out of embedded tables. It will keep going up, regardless of saves, etc.
Back to top
View user's profile Send private message
gbh
Councilperson


Joined: Jul 28, 2007
Posts: 165

PostPosted: Fri Aug 24, 2012 10:18 am    Post subject: Reply with quote

Patrick- Questions regarding the caches-

1) Can I set it at a number low enough that would preclude most crashes?

2) What level would you recommend?

3) How does setting a lower cache amount affect everything else?
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11397
Location: California, USA

PostPosted: Fri Aug 24, 2012 10:24 am    Post subject: Reply with quote

Don't worry about changing the caches yet as I found that my test patch did not include the binary that has my memory leak fix. After each new NeoOffice release, I reset the list of binaries to include in patches and late last night I had forgotten to add back the binary.

The following test patch definitely has my memory leak fix so can you install the following test patch and tell us if you are seeing memory usage in Activity Monitor grow rapidly like it was before? This test patch should show memory usage growth that is no more than (and maybe less) than NeoOffice 3.2.1:

Intel:
http://sally.neooffice.org/test/NeoOffice-3.3-Patch-0-Test-2-Intel.dmg

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
gbh
Councilperson


Joined: Jul 28, 2007
Posts: 165

PostPosted: Fri Aug 24, 2012 12:50 pm    Post subject: Reply with quote

It is up to around 1.04 GB now after 30 minutes or so. The total memory goes up much more slowly than before. The tables appear to be opening and closing more slowly.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11397
Location: California, USA

PostPosted: Fri Aug 24, 2012 12:58 pm    Post subject: Reply with quote

gbh wrote:
It is up to around 1.04 GB now after 30 minutes or so. The total memory goes up much more slowly than before. The tables appear to be opening and closing more slowly.


Do you have any ability to compare the memory usage growth to NeoOffice 3.2.1 Patch 8?

As for the slowing down, check if Free Memory in the Activity Monitor application's System Memory tab is getting low. If so, you are seeing "disk swapping" which means that there is not enough system memory for all running applications so Mac OS X starts using disk (which is much slower to access than system memory) as a substitute.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
gbh
Councilperson


Joined: Jul 28, 2007
Posts: 165

PostPosted: Fri Aug 24, 2012 1:05 pm    Post subject: Reply with quote

Memory usage was growing much faster earlier with the first patch. it rapidly went to 1.7GB after 20 minutes or so.
Back to top
View user's profile Send private message
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 534
Location: Edinburgh, Scotland

PostPosted: Fri Aug 24, 2012 1:10 pm    Post subject: Reply with quote

I've installed NeoOffice 3.3 Patch 0 Test 2.

Like gbh I see the memory usage go up more slowly - 3-4MB every switch, rather than 10-20MB.

I've compared it to NeoOffice 3.2.1 Patch 7. It seems pretty similar now, possibly a bit better in fact, though it's a little hard to judge as 3.2.1 P 7 seems to grab say 6MB of memory then release 2MB after a few seconds. (I guess that's a Java thing.) Whereas 3.3 P0 T2 doesn't grab as much each time, but equally doesn't release as much either.

I'll leave the real world stuff and speed comparisons to gbh.

Andy
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11397
Location: California, USA

PostPosted: Fri Aug 24, 2012 1:53 pm    Post subject: Reply with quote

Now that my fix for the known memory leaks are fixed, from past posts gbh is using a machine with a Retina display. Since Retina display support causes all window and image drawing to use 4 times more memory than non-Retina display machines, I am wondering if the large memory usage is a direct result of using a Retina display.

The 4 times large memory usage for window and image drawing comes from the fact that on Retina displays, Apple draws 2 x 2 pixels in the same space as non-Retina display machines draw in 1 x 1 pixel.

So, do you have a non-Retina display machine to compare memory usage to? If so, does the same actions over the same period result in a sizable percentage less memory usage than what you are seeing on your Retina display machine?

If the Retina display machines use a lot more memory than non-Retina display machines, you may want to try reducing the number Undo steps by 75% and restart NeoOffice to see if memory usage stabilizes at a lower amount.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
gbh
Councilperson


Joined: Jul 28, 2007
Posts: 165

PostPosted: Fri Aug 24, 2012 5:58 pm    Post subject: Reply with quote

Downloading it now to try on a non-retina older MacBook Pro with OSX 10.8 at home.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Support All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.05 Seconds