https://bugs.kde.org/show_bug.cgi?id=390985
--- Comment #3 from Dmitry Kazakov <dimul...@gmail.com> --- Well, most probably, the problem is Windows-specific, because its memory allocator is known to be quite inefficient and fragments memory easily. The real problem is that we use quite inefficient algorithm for calculating "stroke" layers style: instead of using erode/dilate we vectorize the alpha channel and paint a bezier path. This vectorization involves raw memory allocation for selection in KisPixelSelection::outline(), which might cause fragmentation. We have two solutions for this problem: 1) Implement some caching for KisPixelSelection::outline() buffer 2) Implement caching for KisLayerStyleFilterEnvironment::layerOutlineCache(), which was planned, but never implemented (because of point 3) 3) Use more efficient algorithm for the stroke layer style (erode/dilate), which doesn't need all these buffers. Boud, what do you think? -- You are receiving this mail because: You are watching all bug changes.