Menu

#34 Editor can't handle medium-sized files or larger

open-later
None
5
2005-02-25
2005-01-18
No

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.

Discussion

  • Lumir Vanek

    Lumir Vanek - 2005-02-22

    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

     
  • Lumir Vanek

    Lumir Vanek - 2005-02-22
    • assigned_to: nobody --> lvanek
    • status: open --> open-wont-fix
     
  • Lumir Vanek

    Lumir Vanek - 2005-02-22
    • status: open-wont-fix --> open-rejected
     
  • Lumir Vanek

    Lumir Vanek - 2005-02-22
    • status: open-rejected --> closed-rejected
     
  • Cesar A. R. Crusius

    • status: closed-rejected --> open-later
     
  • Cesar A. R. Crusius

    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

     
  • Lumir Vanek

    Lumir Vanek - 2005-02-25

    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

     

Log in to post a comment.