View Issue Details

IDProjectCategoryView StatusLast Update
0016687ScribusGeneralpublic2021-11-25 00:03
Reportersteve98052 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformIntel, two cores, 6 GBOSWindowsOS Version10
Product Version1.5.6 
Summary0016687: large files load slowly
DescriptionMy 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 ReproduceCreate a great big file. Save it. Close it. Load it.
Additional InformationI 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.
Tagsperformance
PatchNo

Activities

jghali

2021-11-24 21:29

administrator   ~0049381

Last edited: 2021-11-24 21:29

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.

steve98052

2021-11-25 00:03

reporter   ~0049384

Correction: the XMP file is about 7 MB, not 7 GB. All text, though it makes reference to external images on most pages.

Issue History

Date Modified Username Field Change
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