https://bugzilla.wikimedia.org/show_bug.cgi?id=53825

       Web browser: ---
            Bug ID: 53825
           Summary: High memory usage during VE editing of large pages
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Mobile
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Editing of large pages can use a significant amount of memory; a spotcheck that
Max did on [[United States]] showed an increase of 121MB usage in Chrome while
editing the page.

This is a concern for us for mobile in particular, as today's mobile devices
have the amount of memory of computers from several years ago -- most have 1GB
or 512MB (or even less), which has to house the operating system, background
apps, the web browser, and the *entire* article with a richly annotated DOM.

Possible techniques for reducing memory usage were proposed at the VE mobile
meeting yesterday:

* Section editing -- if we only have to load up a single section at a time,
large pages won't use up nearly as much memory. Note that on mobile we already
divide the page up into sections surrounded by <div>s that can be replaced with
the editable surface; the other sections on page might not even be open.

* Limit full annotation processing to areas under active editing -- apparently
it should be possible to delay some of the HTML processing on sections or even
paragraphs that have not yet been edited. This might also save memory, but
needs to be looked into.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to