hi,
for the third time my system get frozen because of
bug http://www.lyx.org/trac/ticket/5002.

it seems when we load eg. jpg image to cache and rescale it, the
original image is not forgoten so even small scale is of no help
and more print-ready image are able to knock system down.

the code looks like as we intend to free this memory, but it
wont happen:

@@ -108,9 +108,12 @@ bool GuiImage::setPixmap(Params const & params)
        // Clear the pixmap to save some memory.
        if (is_transformed_)
                original_ = QImage();
        
this code should work? if i manually add original_.~QImage(); memory is
rescued and no swapping happens. however i get some crash in lyx quit then;
aparently graphics cache is more intricated stuff...

pavel

Reply via email to