Mantis Issue Tracking for Scribus
· Hosting provided by / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002438ScribusInternalpublic05-Aug-14 17:1114-Aug-18 18:21
Assigned To 
PlatformanyOSanyOS Versionany
Product Version1.3 
Target VersionFixed in Version 
Summary0002438: Metabug: Cases of extreme memory use
DescriptionAnother bug to collect information about where we're using problematic amounts of memory working on things that probably should not require that much memory.
Additional InformationSee the whole list of metabugs: [^]
TagsNo tags attached.
Attached Files

- Relationships
related to 0002405closedjghali Signal 6 crashes when exporting PDFs. 
related to 0001662closedfschmid Scribus eats ALL my memory and then gets killed by the oom-killer 
related to 0002262confirmed Crash when build PDF-file from a A0 sheet 
related to 0002382acknowledged Metabug: Code quality, structure, readability 
related to 0002221closedfschmid scribus crash with signal 0000006 or complete freeze while trying to import complex svg files 
related to 0003716closedavox Scribus crashes on PDF export and leaves sla file uneditable 
related to 0004520assignedjghali Crash while placing multiple large JPEG images 
related to 0005262closedjghali Scribus crashes due to Signal 0000006 on printing 
parent of 0004189confirmed big picture crashes Scribus on PDF export 
parent of 0004197closedfschmid eps svg import - program crash 
parent of 0004318closedplinnell PNG. problem 
parent of 0004076confirmed large document takes several minutes to load 
parent of 0004506closedjghali high number of images leads to a Out of Memory error and crash, with whole system instability 
parent of 0004513closedale 100% cpu usage while aligning the text 
parent of 0004525closed Taking system memory by all document pages. 
parent of 0005239closedplinnell Very slow performance at selecting objects and high CPU usage 
parent of 0005490closedplinnell When I attempt to save the file as a pdf it crashes Scribus 
parent of 0012617assignedfschmid Scribus slows down after applying drop shadow to image frames 
related to 0003406closedringerc free memory used by large files 
related to 0004024confirmed Get Image Preview too slow for production machines, for magazine/publication etc - doesn't handle big tiffs well 
related to 0004522closedplinnell crashing when exporting to PDF 
related to 0005534confirmed Exported PDF without fonts... larger 
related to 0005558closedavox 1.2 files opened in 1.3.4cvs almost uneditable due to performance issues 
related to 0005517closedjghali Crash when exporting PDF (invalid memory reference) 
related to 0008308feedback [patch] unload unused images from RAM and restore them silently on the next access 
Not all the children of this issue are yet resolved or closed.

-  Notes
ringerc (administrator)
05-Aug-14 17:21

In addition to the above, image export also appears to use extremely large amounts of RAM for large images, due to the use of QImage (and the resultant large in-memory bitmap).
plinnell (administrator)
05-Oct-02 23:11

ringerc (administrator)
06-Jan-05 10:15

We use QString in lots of highly inappropriate places. Most notably is using a QString as a memory buffer(!!!) for images.

This needs to be fixed, as it's potentially very inefficient, is a real misuse of QString, and is a sign we actually need a better container for CMYK images (perhaps by giving ScImage the ability to store CMYK image data?).
ringerc (administrator)
06-Jan-05 10:18
edited on: 06-Jan-05 14:02

We build a PDF document as an in-memory string before streaming it out to disk (CORRECTION: No, we don't, in fact most parts are streamed to disk very promptly.)

Some objects are built as in-memory strings, and then written out. These objects are often mutltiply reprocessed, and are frequently represented as QStrings well before the final write to PDF.

QString probably isn't the best data type anyway, since we actually usually want a byte string. We're abusing QString by shoving characters in it that have the same ordinal values as the bytes we want to store, then writing the document out with QString::latin1() to preserve byte values.

- Issue History
Date Modified Username Field Change
05-Aug-14 17:11 ringerc New Issue
05-Aug-14 17:12 ringerc Relationship added related to 0002405
05-Aug-14 17:12 ringerc Status new => confirmed
05-Aug-14 17:15 ringerc Relationship added related to 0001662
05-Aug-14 17:16 ringerc Relationship added related to 0002262
05-Aug-14 17:21 ringerc Note Added: 0006118
05-Aug-14 17:23 ringerc Relationship added related to 0002382
05-Aug-27 05:21 ringerc Relationship added related to 0002221
05-Oct-02 23:11 plinnell Note Added: 0006862
05-Oct-02 23:11 plinnell Product Version 1.3.1cvs => 1.3.2cvs
06-Jan-05 10:15 ringerc Note Added: 0007928
06-Jan-05 10:18 ringerc Note Added: 0007929
06-Jan-05 14:02 ringerc Note Edited: 0007929
06-Mar-14 13:22 ringerc Relationship added related to 0003406
06-Jul-03 00:11 mhanski Additional Information Updated
06-Jul-17 10:09 ringerc Relationship added related to 0004024
06-Aug-16 17:43 ringerc Relationship added related to 0003716
06-Aug-28 22:36 jo-hannes Relationship added parent of 0004189
06-Sep-01 08:35 jghali Relationship added parent of 0004197
06-Sep-29 12:53 ringerc Relationship added parent of 0004318
06-Oct-28 12:30 mhanski Relationship added parent of 0004076
06-Nov-09 17:21 mhanski Relationship added parent of 0004506
06-Nov-09 17:24 mhanski OS Fedora Core => any
06-Nov-09 17:24 mhanski OS Version 3 => any
06-Nov-09 17:24 mhanski Platform x86 Linux => any
06-Nov-09 17:24 mhanski Product Version 1.3.2cvs => 1.3
06-Nov-11 22:58 mhanski Relationship added parent of 0004513
06-Nov-13 23:46 mhanski Relationship added related to 0004522
06-Nov-14 10:45 mhanski Relationship added parent of 0004525
07-Jan-25 10:06 mhanski Relationship added parent of 0005239
07-Feb-01 00:14 jghali Relationship added related to 0004520
07-Feb-01 00:14 jghali Relationship added related to 0005262
07-Feb-26 17:23 mhanski Relationship added parent of 0005393
07-Mar-02 23:32 plinnell Relationship deleted parent of 0005393
07-Mar-28 09:00 mhanski Relationship added parent of 0005490
07-Apr-07 00:07 mhanski Relationship added child of 0005534
07-Apr-07 00:15 mhanski Relationship deleted child of 0005534
07-Apr-07 00:16 mhanski Relationship added related to 0005534
07-Apr-15 09:54 mhanski Relationship added related to 0005558
07-Apr-26 21:30 ringerc Relationship added related to 0005517
14-Jul-09 17:46 Kunda Status confirmed => acknowledged
14-Aug-18 18:17 Kunda Relationship added parent of 0012617
14-Aug-18 18:21 Kunda Relationship added related to 0008308

Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker