Re: UCS-2 vs. UCS-4


Subject: Re: UCS-2 vs. UCS-4
bill-abisource@carpenter.ORG
Date: Wed Jun 27 2001 - 16:43:40 CDT


ms> Quite reasonable on todays workstations. In a years time it will
ms> be even more reasonable.

I planned to run a simple test, and I got a bit of a shock.
Hopefully, I'm misunderstanding some things I'm looking at.

On W2k Server, I ran the (I assume non-debug) nightly Windows build
from 4 June 2001. With no documents open, the memory footprint
(reported by task manager) was a little over 3 MB. Not great, but not
tragic. I then opened the sample document attached to bug 1518 (the
Vietnamese character problem), which has well under 100 bytes of
content and no formatting other than paragraph breaks. The memory
footprint hopped up to 3.8 MB. OK, not the best, but still no reason
for calling out the national guard.

Then, I restarted AbiWord and opened up a 3-page document I had laying
around. (I don't know where this came from, but my copy is called
"bugs.abw" and the main header says "Reporting Bugs". It's a
description of making a good AbiWord bug report, and it probably was a
draft circulated on this list or maybe the docs list sometime in the
last month or so.) Anyhow, it's 2+ pages with light formatting and it
looks like 3 mainstream fonts. The entire file on disk is 13k.

The memory footprint immediately after opening this document is over
26 MBytes. Frankly, I am stunned. Perhaps someone who knows a bit
more about W2k can point out why this isn't as bad as it seems on the
surface. (I can't tell if it's really using all that memory because
the machine I ran it on has 512 MB physical RAM.)

Are other platforms anything like this?

-- 
bill@carpenter.ORG (WJCarpenter)    PGP 0x91865119
38 95 1B 69 C9 C6 3D 25    73 46 32 04 69 D6 ED F3



This archive was generated by hypermail 2b25 : Wed Jun 27 2001 - 16:44:13 CDT