Commit 656795fa authored by Committed by Simon Budig
when glibc is used, call mallopt, so that memory chunks >= 4k (= 64*64
2004-04-29 Simon Budig <firstname.lastname@example.org> * app/main.c: when glibc is used, call mallopt, so that memory chunks >= 4k (= 64*64 pixels, 1bpp - the smallest full tile) get allocated via mmap. This ensures that after closing an image the memory allocated for image data gets returned to the system. Thanks to Phil Blundell <email@example.com> for bringing mallopt to my attention. Please watch closely for performance problems.
Showing with 23 additions and 0 deletions