View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016687||Scribus||General||public||2021-11-23 23:15||2021-11-25 00:03|
|Platform||Intel, two cores, 6 GB||OS||Windows||OS Version||10|
|Summary||0016687: large files load slowly|
|Description||My current document is a shade under 7 GB of XML, not quite 400 pages, and uses 88 master pages. It takes several minutes to load, compared with a matter of seconds to make a copy or open it with a text editor.|
I'm not sure whether the open time is an unavoidable issue with the processing of the XML or a case of the file loader doing unnecessary work. If it's an unavoidable issue, a good solution would probably be a more informative progress bar. If the loader is doing unnecessary work, best solution is profiling and cleaning it up.
A "too good to be true" solution would be to allow Scribus to allow editing (or at least viewing) of the portion that has been loading while the remainder continues to load, but that's obviously only workable for documents that are stored in approximate page order, and even then I would imagine it to be unreasonably complicated without a heavy overhaul.
|Steps To Reproduce||Create a great big file. Save it. Close it. Load it.|
|Additional Information||I don't want to share my original file because it includes private content. But if it helps developers, I can create a file that performs similarly without private content.|
How damn did you managed to get a 7Gb XML file? Have you embedded all the images in your file? Or is your document mostly text?
If you did embed images in your file, this is a (very) bad idea:
- embedding images, especially in big files, make these files more susceptible to corruption
- embedding images will slow down file loading as all images will have to be written again to temporary files.
||Correction: the XMP file is about 7 MB, not 7 GB. All text, though it makes reference to external images on most pages.|
|2021-11-23 23:15||steve98052||New Issue|
|2021-11-23 23:15||steve98052||Tag Attached: performance|
|2021-11-24 07:29||jghali||Category||Internal => General|
|2021-11-24 21:29||jghali||Note Added: 0049381|
|2021-11-24 21:29||jghali||Note Edited: 0049381|
|2021-11-25 00:03||steve98052||Note Added: 0049384|