OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

What was fast is now SLOW!
Goto page 1, 2  Next
 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
Polo
Guest





PostPosted: Fri Sep 19, 2003 8:04 pm    Post subject: What was fast is now SLOW! Reply with quote

Running RC3 on Mandrake 9.1 with OO quickstarter. Until a week ago, when I launched OO or clicked on a .doc file, the program fired up pretty quick and ran well. Now the application hangs at the default template during launch, and after it finally displays the document, takes seemingly forever to show the print dialog box or accept inputs in that dialog. What happened? TIA.
Polo
Back to top
linoofan
General User
General User


Joined: 24 Sep 2003
Posts: 30
Location: Maryland, USA

PostPosted: Wed Sep 24, 2003 2:52 pm    Post subject: Reply with quote

I've had the same problem, with 1.1RC. In the past (1.0), I've tried deleting the ~/.openoffice directory, which has worked. Haven't tried it this time, because I don't feel like losing all my settings.

Does anyone have any idea why OOo gets so slow after using it for a while? Is there some cache directory that needs to be emptied out or something? Any help would be appreciated.
_________________
Steve
Back to top
View user's profile Send private message
The Liquidator
Super User
Super User


Joined: 27 Feb 2003
Posts: 1368
Location: Manchester, UK

PostPosted: Wed Sep 24, 2003 3:19 pm    Post subject: Reply with quote

I had this problem on various versions of OOo and SO on Mandrake 9. OOo would suddenly load very slowly (2-3 minutes!) but once up and running it worked as normal.

I eventually put it down to Mandrake (I was running 9.0 at the time) given that total deletion of OOo and reinstall did not solve the problem. An "upgrade" reinstall of Mandrake would invariably cure it. Howeevr I wonder whether it could in fact have been the KDE environment, which seems very sloww from time to time. Are you using KDE or Gnome? Have you tried running OOo in the other environment? If so, what happens?

Ian
Back to top
View user's profile Send private message
linoofan
General User
General User


Joined: 24 Sep 2003
Posts: 30
Location: Maryland, USA

PostPosted: Wed Sep 24, 2003 8:27 pm    Post subject: A solution?? Reply with quote

I might have found a potential culprit, on Linux at least: Try deleting the file ~/OpenOffice1.1/user/psprint/pspfontcache. (Note that your OpenOffice directory (located in your home directory) may be named something other than "OpenOffice1.1"; mine is actually named ".openoffice".)

In my informal tests loading a medium-sized Excel spreadsheet, OOo took 119 seconds average to load with a pspfontcache file of 2.7 MB. When I moved pspfontcache to a temporary directory (effectively erasing it), the same spreadsheet loaded in 18.5 seconds average. Moving pspfontcache back to the psprint directory caused OOo to load in 119 seconds again. Note that this is on a 3.06 GHz Pentium 4 machine.

I looked at the options in OOo to see if there's a way to limit the size of pspfontcache, but I didn't see one. Any OOo developers out there who know if there's a way to do this?

Alternatively, one could write a script to delete pspfontcache before starting OOo, or perhaps when the file gets above a certain size.
_________________
Steve
Back to top
View user's profile Send private message
linoofan
General User
General User


Joined: 24 Sep 2003
Posts: 30
Location: Maryland, USA

PostPosted: Wed Sep 24, 2003 9:28 pm    Post subject: Reply with quote

Another post had an excellent suggestion: make pspfontcache read-only. I'd first delete pspfontcache, then run OOo once to regenerate it as a very small file, then make it read-only:

cd ~/.openoffice/user/psprint
rm pspfontcache
soffice
chmod -w pspfontcache

This removes write access to the file.
_________________
Steve
Back to top
View user's profile Send private message
cwchia
Super User
Super User


Joined: 09 Jan 2003
Posts: 1050
Location: Malaysia

PostPosted: Mon May 17, 2004 10:31 pm    Post subject: Reply with quote

Excellant!

My staff (well, my only staff) almost killed me when her OOo is getting aeons to bring up he printer dialog to display. Until I make a search on this and did what the Gurus said. I close OOo, then renamed the pspfontcash to pspfontcash.old. Restart and closing OOo again so that it creat a new pspfontcash and take out the write access to it. BINGO, the print dialog comes up almost instantaneously on my MDK 9.2 on Celeron 2.0 with 256Mb Ram.

Laughing Laughing Laughing Laughing Laughing Laughing Laughing
Back to top
View user's profile Send private message
Half-migrated
Guest





PostPosted: Thu May 20, 2004 6:08 pm    Post subject: OO launches very slowly in linux Reply with quote

Thanks for the tip regarding pspfontcache -- it seems to be working. I got puzzled today when I put OO on my Win 2000 800 MHz laptop and found that it launches in 3 s, while it takes 12 - 20 s to launch on my Mandrake 9.1 1.7 GHz Athalon at home! Are there similar issues (and fixes) for Mozilla and Evolution (I know, wrong place to ask)? It amazes me at how slowly most apps seem to launch in the Linux distros I run (Mandrake and Knoppix).
Back to top
The Liquidator
Super User
Super User


Joined: 27 Feb 2003
Posts: 1368
Location: Manchester, UK

PostPosted: Fri May 21, 2004 1:08 am    Post subject: Reply with quote

Now I have the same issue, only the other way around.

OOo for me launches considerably quicker in Linux (Mdk 10) than in Win 98SE, on a dual-booting machine.

Strange, isn't it

Ian
Back to top
View user's profile Send private message
newoldy
Newbie
Newbie


Joined: 21 May 2004
Posts: 1
Location: Ely UK

PostPosted: Fri May 21, 2004 12:35 pm    Post subject: what was fast is now SLOW Reply with quote

New to forum but instant answers here

On SUSE Linux dual boot with Windows and using Windows less and less also my wife getting into it PC 1GHz 300+MB

OO got slow read these forum messages and deleted the 793KB pspfontcache file started OO once then 15.5KB set to read only and hey presto OO loads lightingly fast prints faster etc

So great and thnks all
Back to top
View user's profile Send private message
TSloth
Newbie
Newbie


Joined: 20 Mar 2003
Posts: 3

PostPosted: Tue Sep 07, 2004 1:54 pm    Post subject: OOo Slo to start, slo to print - fixed! Reply with quote

Thank you, thank you linoofan for this solution! Very Happy

Removing pspfontcache (927KB!!), letting OOo create a new one (30.6KB), and making it read-only has fixed the slow OOo startup time and the excrutiatingly long times to bring up the print dialog, to select a printer, and to print.

I use version 1.1.0. Has this been fixed in a later version? If not, this solution needs to be better publicized.

Thanks again,
- TSloth
Back to top
View user's profile Send private message
linoofan
General User
General User


Joined: 24 Sep 2003
Posts: 30
Location: Maryland, USA

PostPosted: Tue Sep 07, 2004 2:32 pm    Post subject: Reply with quote

TSloth,

You're welcome! I'm really glad to see that this topic has helped so many people!

As to whether it's been fixed in a later version, I can't say. I've downloaded the development version for release 2.0 (1.9.m49) and the pspfontcache file is still read/write. But I haven't used it enough to know if pspfontcache still grows very large; right now, mine is only 36K.
_________________
Steve
Back to top
View user's profile Send private message
Dropout
OOo Enthusiast
OOo Enthusiast


Joined: 27 Apr 2004
Posts: 110

PostPosted: Thu Sep 16, 2004 1:00 pm    Post subject: Reply with quote

My install doesn't have the pspfontcache file but is slow to start.

Any ideas?

Dropout
Back to top
View user's profile Send private message
linoofan
General User
General User


Joined: 24 Sep 2003
Posts: 30
Location: Maryland, USA

PostPosted: Mon Sep 20, 2004 5:35 am    Post subject: Reply with quote

Dropout,

Can you give us some specifics about your system? What are your machine specs? What version of OOo are you running? What distribution?
_________________
Steve
Back to top
View user's profile Send private message
Dropout
OOo Enthusiast
OOo Enthusiast


Joined: 27 Apr 2004
Posts: 110

PostPosted: Mon Sep 20, 2004 5:46 am    Post subject: Reply with quote

Hi.

I'm running OOo 1.1.2 (don't know what build - where can I find it?) on Windows 98 (not SE) on a P3 750.

I have two printers installed, one local and one network. The rest of the network is often down. The default is the local printer.

I do not have Micro$oft Office installed.

Thanks.

Dropout
Back to top
View user's profile Send private message
linoofan
General User
General User


Joined: 24 Sep 2003
Posts: 30
Location: Maryland, USA

PostPosted: Mon Sep 20, 2004 9:30 am    Post subject: Reply with quote

Hmm, it could just be that your system is underpowered -- OOo is quite a resource hog. How much memory do you have? Have you tried running it on a faster system?

Also, do you use the OpenOffice "quickstarter" feature? It makes OOo startup much faster, although it takes time during initial boot/login.
_________________
Steve
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group