[KLUG Members] Speed up OpenOffice...

Mark Bystry mabystry at verizon.net
Wed Nov 10 11:04:35 EST 2004


yeah, i'm doing the quickstarter and the memory ramp-up in options. i did find this on a forum 
somewhere...

###############################################################################################
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.


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.
###############################################################################################

i'm going to give that a try tonight when i get home. since i have a dual-boot system with winxp pro 
and suse 9.2 pro i have always loaded the truetype fonts from my winxp OS. this ensures better font 
compatibility when importing original word documents written in the aerial font(or any windows font) 
  into openoffice. or at least that's been my experience thus far.

Mark Bystry
SuSE 9.2 Pro


Adam Tauno Williams wrote the following on 11/10/2004 10:47 AM:
>>>Alright, I can take it no more. Does anyone have any openoffice tips for
>>>speeding application start 
>>>up time? I've learned to live with 30 second start up times (even after
>>
>>quickstarter is running) for  too long.
>>Get a faster machine?  :-)
>>Seriously, what speed machine are you running?
>>My 2.8ghz starts OO in about 5 seconds.
> 
> 
> My 2.0GHz laptop w/1Gb of RAM = 6 seconds. (With oodles of other stuff already
> open).
> 
> I've seen some hack around about using LD_PRELOAD to get the libraries in MUCH
> faster, but I don't know if it is worth it, since you'll need to refactor it
> when you make any upgrades.
> 
> 
>>I take it you're doing the quickstarter described here?:
>>http://www.bytebot.net/openoffice/faq.html#Misc1
> 
> 
> _______________________________________________
> Members mailing list
> Members at kalamazoolinux.org
> 
> 


More information about the Members mailing list