Hello Asger,
On Mon, Mar 08, 1999 at 09:17:23PM +0100, Asger Alstrup Nielsen wrote:
> To confirm whether we have hit the limit of reference counting, could Helmut
> please try to recompile LyX in a version where the unsigned short reference
> counter defined in LString.h is changed to an unsigned int? (Locate the srep
> struct, and you'll see what to change.) Then try to do the same, and see if
> things are better.
I have done the changes and recompiled lyx. I have increased my
test-document up to 27Mb and I can not crash lyx again. But I noticed
that the response time for cut&paste increases exponentially. Cuting 4Mb
and pasting 6 times lasts 2 hours (K6-2 333Mhz with 128 MB, lyx eats
100% cpu and 148 MB memory all the time). Then I saved the document and
tried to reload it. After formatting the document for 3 hours I stopped
the tests. (CPU- and Memory-Consumption as above).
As I am not familiar with C++ I couldn't find an obvious place with
comparisons between unsigned short and int or unsigned int which I think
is the problem.
Helmut
--
Helmut Bohr [EMAIL PROTECTED]
[EMAIL PROTECTED]