Editor can't handle medium-sized files or larger
Brought to you by:
lvanek
I have a machine with 512MB RAM + 512MB swap. If I try to open a
16MB file with kxmleditor the machine will eventually crash due to
kxmleditor using too much memory. With luck, the kernel kills
kxmleditor when it's memory usage is about 700M. (I tried both with
1.0 and 1.1.3.) I believe this is a side-effect of the DOM model used,
but nevertheless requiring more than 700M for editing a 16M file
seems too much. The file contains very little text, about 99% of it
are attributes.
Logged In: YES
user_id=258932
KXML Editor is not suitable for editing large files, due to
using tree widget. Solution is use any other editor with
different editing approach.
Bye,
Lumir
Logged In: YES
user_id=24764
I understand that for extremely big files the architecture
needs to be retought, but, on the other hand, if a 16MB
file will crash a machine with 1GB of memory available,
then my take is that something's very wrong with the
overall approach. I'm reopening the bug because of this:
any XML editor should be able to handle 16MB files and
thus this should be a real concern. If this is to be the
official KDE XML Editor (kxmleditor, after all), then the
point is even stronger.
If somebody wants to lower the priority its fine. But a
WONTFIX for this bug means basically that the
developers don't really plan on making this editor useful
for a medium-large audience. (For a comparison
imagine a browser that couldn't render a 16MB web
page - and rendering a web page is a much more
complicated task.)
Best,
Cesar
Logged In: YES
user_id=258932
Hi,
At this time, we are working on switch to another XML parser
- Xerces C++. When this work will be done, I will contact
you with testing request.
Pleasse send me XML file with this size (compressed of
course), to my box vanekl -at- valachnet.cz
Thanks,
Lumir