[KimDaBa] Reducing memory consumption
Robert L Krawitz
rlk at alum.mit.edu
Sat Jan 15 05:36:36 GMT 2005
I took a very quick look at the memory consumption issue (displaying a
big image consumes a lot of memory). This particular change didn't
cause any obvious breakage, and it got rid of the spike (90 MB -> 250
MB -> 170 MB). However, it still seems like 80 MB is a bit high for
the image in question, which is somewhere in the range of 5500x3500
pixels (18 million pixels). Perhaps there's some way of reducing it
some?
*** imagemanager.h.~1.19.~ 2005-01-13 05:20:23.000000000 -0500
--- imagemanager.h 2005-01-14 23:44:01.510905120 -0500
***************
*** 42,48 ****
private:
ImageRequest* _request;
! QDeepCopy<QImage> _image;
};
// This class needs to inherit QObject to be capable of receiving events.
--- 42,48 ----
private:
ImageRequest* _request;
! QImage _image;
};
// This class needs to inherit QObject to be capable of receiving events.
More information about the Kphotoalbum
mailing list