[Digikam-devel] [Bug 289680] ICCProfile wastes a lot of memory (high memory footprint on startup)

Andi Clemens andi.clemens at googlemail.com
Fri Dec 23 16:46:04 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=289680





--- Comment #1 from Andi Clemens <andi clemens googlemail com>  2011-12-23 16:46:04 ---
In bool CIETongueWidget::setProfileData(const QByteArray& profileData), we take
the profile data and (again) create a new cmsPROFILE object. Taking a look at
the memory usage with massif and the "taskmanager", it seems like again 25 MBs
are allocated. 
Can't we use the already existing handle of the ICCProfile object here and pass
it as a reference to this method?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list