Re: Openoffice file takes a long time to open

2007-09-28 Thread Wei Wang
Hi there
Try to modified it and save it on SUSE machine. Then copy the file back
to etch laptop.

On Wed, 2007-09-26 at 11:15 +0100, John O Laoi wrote:
 Hello,
 I am running Etch on a Dell Precision laptop.
  I have one openoffice file, say XYZ.odt, which takes a long time to
 open (maybe 25 minutes).
 While it is opening, Openoffice is stalled. 
 It is not big. ls-l  reports its size as 18,000.
 I have many much bigger files which open immediately.
 
 I copied the file to SUSE linux that I have on a desktop, and the file
 opened quickly. 
 I tried changing its name.
 I tried copying its contents to a new file.
 I made a copy of the file (using cp).
 I had some URLs in the file, which I changed to text (removed the blue
 and underline) 
 I ran fsck on the filesystem on which it resides, and it reported no
 bad blocks.
 
 Any ideas where I look?
 
 John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Openoffice file takes a long time to open

2007-09-26 Thread John O Laoi
Hello,
I am running Etch on a Dell Precision laptop.
 I have one openoffice file, say XYZ.odt, which takes a long time to open
(maybe 25 minutes).
While it is opening, Openoffice is stalled.
It is not big. ls-l  reports its size as 18,000.
I have many much bigger files which open immediately.

I copied the file to SUSE linux that I have on a desktop, and the file
opened quickly.
I tried changing its name.
I tried copying its contents to a new file.
I made a copy of the file (using cp).
I had some URLs in the file, which I changed to text (removed the blue and
underline)
I ran fsck on the filesystem on which it resides, and it reported no bad
blocks.

Any ideas where I look?

John


Re: Openoffice file takes a long time to open

2007-09-26 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/26/07 05:15, John O Laoi wrote:
 Hello,
 I am running Etch on a Dell Precision laptop.
  I have one openoffice file, say XYZ.odt, which takes a long time to open
 (maybe 25 minutes).
 While it is opening, Openoffice is stalled.

No surprise there.

 It is not big. ls-l  reports its size as 18,000.
 I have many much bigger files which open immediately.

Maybe it's *highly* compressed and most of the time is spent in
zlib.  I've seen examples of corner cases that take forever to open.

 I copied the file to SUSE linux that I have on a desktop, and the file
 opened quickly.

You neglect to mention the specs of the 2 machines.  Maybe the
desktop is 10x faster?

 I tried changing its name.
 I tried copying its contents to a new file.
 I made a copy of the file (using cp).
 I had some URLs in the file, which I changed to text (removed the blue and
 underline)
 I ran fsck on the filesystem on which it resides, and it reported no bad
 blocks.
 
 Any ideas where I look?

Run top in an xterm.  See if OOo is sucking a lot of CPU.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG+lzyS9HxQb37XmcRAirBAKCs7zJtTr5vy9rf/b55bF0e6P34xwCcDE4g
qKZGDHKJ5+Qbcpy0jzXMn7k=
=EC0B
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Openoffice file takes a long time to open

2007-09-26 Thread Ralph Katz
On 09/26/2007 09:21 AM, Ron Johnson wrote:
 On 09/26/07 05:15, John O Laoi wrote:
 Hello,
 I am running Etch on a Dell Precision laptop.
  I have one openoffice file, say XYZ.odt, which takes a long time to open
 (maybe 25 minutes).
 While it is opening, Openoffice is stalled.
 
 No surprise there.
 
 It is not big. ls-l  reports its size as 18,000.
 I have many much bigger files which open immediately.
 
 Maybe it's *highly* compressed and most of the time is spent in
 zlib.  I've seen examples of corner cases that take forever to open.
 
 I copied the file to SUSE linux that I have on a desktop, and the file
 opened quickly.
 
 You neglect to mention the specs of the 2 machines.  Maybe the
 desktop is 10x faster?
 
 I tried changing its name.
 I tried copying its contents to a new file.
 I made a copy of the file (using cp).
 I had some URLs in the file, which I changed to text (removed the blue and
 underline)
 I ran fsck on the filesystem on which it resides, and it reported no bad
 blocks.
 
 Any ideas where I look?
 
 Run top in an xterm.  See if OOo is sucking a lot of CPU.

Also check your disk i/o for swapping.  I recently worked on a 4.8kb OOo
document that sucked in 8 images of 1.1Mb/each.  It was a simple letter
sized page with embedded images.  Working on that doc brought the old
500Mhz PIII to a crawl under etch, but it loaded and rendered in a
minute or 2, not 25 mins!

Also, check whether any other unusual objects are embedded or called
somehow.  Perhaps some object is not loading, re-trying, and finally
timing out.  Just a guess...

Good luck,
Ralph


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Openoffice file takes a long time to open

2007-09-26 Thread John O Laoi
On 9/26/07, Ron Johnson [EMAIL PROTECTED] wrote:


 Maybe it's *highly* compressed and most of the time is spent in
 zlib.  I've seen examples of corner cases that take forever to open.


It is a file that is frequently used. I don't know how to check if it is in
zlib.

 I copied the file to SUSE linux that I have on a desktop, and the file
  opened quickly.

 You neglect to mention the specs of the 2 machines.  Maybe the
 desktop is 10x faster.


The desktop is 2.8Ghz and has 1MB memory. The laptop is  1.8GHz and has the
same memory.
There is no difference between these two machines in opening any other file.


  Any ideas where I look?

 Run top in an xterm.  See if OOo is sucking a lot of CPU.


It is, but only on opening this file.
John


Openoffice file takes a long time to open

2007-09-26 Thread John O Laoi
On 9/26/07, Ralph Katz [EMAIL PROTECTED] wrote:


 Also check your disk i/o for swapping.


How do I do that?


 Also, check whether any other unusual objects are embedded or called
 somehow.  Perhaps some object is not loading, re-trying, and finally
 timing out.  Just a guess...


That is what has me baffled - there are no images or anything else in the
file.
It has some email addresses - maybe openoffice is trying to open an email
application for each of these.
John


Re: Openoffice file takes a long time to open

2007-09-26 Thread Ralph Katz
On 09/26/2007 11:02 AM, John O Laoi wrote:
 
 
 On 9/26/07, *Ralph Katz* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 
 Also check your disk i/o for swapping.  
 
 
 How do I do that?

Little ole me looks at the disk light. :)  Also, I have gkrellm
installed which can show graphically the disk usage.  (There is also the
systat package which I just found searching for - monitor OR watch
disk i/o - iostat - search debian pkgs page for this command.)  And
of course top and free commands show swap space used/available.

 Also, check whether any other unusual objects are embedded or called
 somehow.  Perhaps some object is not loading, re-trying, and finally
 timing out.  Just a guess...
 
 
 That is what has me baffled - there are no images or anything else in
 the file.
 It has some email addresses - maybe openoffice is trying to open an
 email application for each of these.
 John

Don't know, John, I'm just a simple user.  If it were me, I'd copy the
contents of the doc onto the clipboard, paste it into a text-only
editor, re-copy the now text-only data into a new OOo doc.  (This is
crude, but assures nothing surprising gets inadvertently copied.)  Now,
try the new doc.

Good luck!
Ralph


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Openoffice file takes a long time to open

2007-09-26 Thread John O Laoi
On 9/26/07, Ralph Katz [EMAIL PROTECTED] wrote:



 Don't know, John, I'm just a simple user.  If it were me, I'd copy the
 contents of the doc onto the clipboard, paste it into a text-only
 editor, re-copy the now text-only data into a new OOo doc.  (This is
 crude, but assures nothing surprising gets inadvertently copied.)  Now,
 try the new doc.

  I tried this to no avail.
Then, I brought the file to SUSE, and did the same thing there, using vi,
saved it as text
and brought it back to Etch, and it opened in less than a second.
All very mysterious.
Anyway, problem solved in the end.
Thanks for your help.
John


Re: Openoffice file takes a long time to open

2007-09-26 Thread David Fox
Ralph wrote:


 Don't know, John, I'm just a simple user.  If it were me, I'd copy the
 contents of the doc onto the clipboard, paste it into a text-only

Well, I remember doing something similar at a previous job. I was
doing quite a bit of Excel spreadsheets there, and over time this
spreadsheet I was using got a bit on the complex side, and would bring
the workstation I was using to its knees, with disk I/O going on
constantly. (The machine just was too underpowered, only had a 128 meg
of RAM etc.)

What I ended up doing was to get a copy of staroffice (this was back
in 2000) then copy the spreadsheet over to that, and then reload it
into Excel. That helped quite a bit, since I apparently had quite a
number of otherwise unused cell areas that still got moved in and
out of system RAM while I was working on the main sheet.



 Ralph


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]