[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Kpresenter hogs memory
From:       "Ariya Hidayat" <ariya () kde ! org>
Date:       2006-11-17 12:20:04
Message-ID: ba035dd10611170420w1b488d46k46d992bb972561e7 () mail ! gmail ! com
[Download RAW message or body]

> I also created a small presentation with Kpresentation. I found that
> when the document size is ~100 KB, it taken only about ~40 MB, but once
> I included an 1 MB 'jpg' image, it started taking >65 MB. It appears
> that there is something very badly implemented in handling memory with
> Kpresenter.

One possible cause is since we use QDom to hold the document while
being loaded into the application (in this case: KPresenter). QDom is
known to have quite large memory footprint.
For detailed analysis and work-in-progress solution, see
ariya.blogspot.com/2006/11/memory-efficient-dom.html



-- 
http://www.google.com/search?q=ariya+hidayat&btnI
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic