hi, I have cache disabled and on loading amazon.com, the memory consumption on the linux gtk port is ~32Meg(private dirty RSS). Approx 14Meg of this is taken by the png decoder for the following image of size 1296000 bytes which is allocated 9 times. The behavior is same on the desktop with recent build (r40777) http://g-ecx.images-amazon.com/images/G/01/gno/images/orangeBlue/navPackedSprites_v3._V260607109_.png
I dont know if this is a cache or image decoder issue. i would think a resource already loaded would be reused in the same page even if the cache is disabled, but doesnt look so. Any pointers would help. thanks, Zaheer PS: heres the backtrace 13882320 |-WTF::fastMalloc(unsigned int)+16 |--WTF::Vector<unsigned int, 0u>::reserveCapacity(unsigned int)+64 |---WTF::Vector<unsigned int, 0u>::expandCapacity(unsigned int)+76 |----WTF::Vector<unsigned int, 0u>::resize(unsigned int)+56 |-----WebCore::PNGImageDecoder::rowAvailable(unsigned char*, unsigned int, int)+488 |------png_push_have_row+28 |-------WebCore::PNGImageDecoder::decode(bool) const+48 |--------WebCore::PNGImageDecoder::frameBufferAtIndex(unsigned int)+56 |---------WebCore::ImageSource::createFrameAtIndex(unsigned int)+80 |----------WebCore::BitmapImage::cacheFrame(unsigned int)+80
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev