Optimizing spray&memory swapping

Cyrille Berger cberger at cberger.net
Fri Apr 23 17:45:57 CEST 2010


On Friday 23 April 2010, LukasT.dev at gmail.com wrote:
> Dmitry, related question, when I call KisPainter->begin(device), then I
> should  call end()? It is not documented well. What I suppose to do with
> the @return of the end()? E.g. I don't care about transaction, I just want
> to reuse KisPaintDevice. Should I call delete KisPainter::end()?
yes, and if you don't care about the transaction, simply do not call begin().

If the massif output was made with called to KisPAinter::begin and no delete 
of the transactions, it explains the memory increase.

-- 
Cyrille Berger


More information about the kimageshop mailing list