>>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:

Juergen> On 09-Feb-2001 Jean-Marc Lasgouttes wrote:
>>  Step 1.2.0cvs 1.2.0cvspatched 1.0.3 1 1M 1M 7856K 2 26M 25M 8096K
>> 3 41M 39M n/a 4 52M 50M 8552K
>> 
>> Step 2 tells us that we have a cost per cell of about 10k for a
>> tabular. This seems a very high number to me. Step 3 is more
>> interesting: by the simple fact of entering and leaving a
>> textinset, there is a very large increase of used memory. Does this
>> go into TextCache, or somewhere else?
>> 

Juergen> No IMO the problem is that a LyXText object is allocated at
Juergen> that time!

That's what I meant, in fact. Presumably, if the code needs to
allocate a new LyXText for the table, there also an old one in the
cache that should go away.

Juergen> The memory usage IS high and we really should try to reduce
Juergen> it. I'm open for ideas (well we already had one in not to
Juergen> preserve the 500 bytes per paragrap, did you test that in
Juergen> memory consuption?)

Yes, the 1.2.0cvspatched is just that. One gains 2M (to compare with
memory consumption of around 50M!). This means that undo is really not
much, compared to lyxtext.

JMarc

Reply via email to