[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: Formatting large docs in Kword
From: Jonathan Drews <j.e.drews () worldnet ! att ! net>
Date: 2002-12-10 8:04:31
[Download RAW message or body]
On Tuesday 10 December 2002 12:25 am, Clarence Dang wrote:
> Hi Jonathan,
> Try loading your text file with the other two options in the "End of
> Paragraph" group i.e. "Sentence" and "Old method" (not "As is") in
> the "KWord's Plain Text Import Filter" dialog. They are not perfect
> but I think they will do what you want.
Splendid! Worked like a charm Clarence.
> I can see Nicolas smiling here because I once told him that these
> modes where "exotic" and "useless" :-) But now it seems like I'm
> wrong!
Well I have made similar blunders, if it is any consolation. Now I can
import the Gutenberg books into Kword and put the footnotes in proper
order.
>
> > BTW Kword now loads and edits these big docs pretty quickly.
>
> Really? The filter reads one character at a time, last time I
> checked... You should try loading the 20MB DNA sequence associated
> with bug #45973 :-) (actually the real problem with that bug is the
> amount of memory that KWord takes up but anyway I'm getting OT again
Yes, but by using your advice it loaded Volume 1 of Decline and Fall of
The Roman Empire pretty quickly. I then saved that as a Kword doc (with
the new full page format) and reopened it. Memory consumption was
negligible! It did not use swap for a 361 page Kword doc with Footers
and Headers. When I loaded the original text file using "As is: At the
end of the line", the memory consumption was enormous. It used ~500
Mb. So the page formating makes a big difference in the memory
consumed?
I then copied and pasted the 361 pages to make a 722 page Kword
document. It still did not use much swap space. Here is the output from
top:
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COM
2025 kword 25 0 116M 115M 7540 R 90.0 46.0 5:36 kdeinit
1916 root 15 0 76404 6040 832 R 2.6 2.3 0:32 X
2028 planck 15 0 85520 11M 9364 R 1.9 4.6 0:00 kdeinit
2036 planck 15 0 984 984 764 R 0.6 0.3 0:00 top
Note that RSS is 115 M for the account that is running Kword from CVS
head (that account is named Kword also).
You should also know that I run two X sessions at once. KDE 3.0.5 on
dipslay :0 and KDE_3_1_BRANCH on display :2.
Just out of curiosity, I copied and pasted the 722 page doc to double
it to 1444 pages (1,074,992 words and 6,436,792 characters including
spaces)
At the end of the load I had this from top:
Mem: 255964K av, 251428K used, 4536K free, 0K shrd, 6528K buff
Swap: 522100K av, 263428K used, 258672K free 24316K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME
2025 kword 25 0 224M 155M 87620 R 94.3 62.0 39:34 kdeinit
It took about half an hour to paste the 722 additional pages, to make
the 1444 page *kwd. The first doubling was pretty quick about a few
minutes. The saved 1444 page *kwd was 2.6 Mb.
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic