Here are the patches to get the upstream version of evolution-data-server and evolution-exchange to start using the mmap technique for loading the header and content info summary data of Evolution and tinymail.
I expect it to reduce memory usage of Evolution with approximately fourty to sixty megabytes of ram, depending on the amount of folders you have.
I’m very interested in your test results:
cvs -z3 co evolution-data-server cd evolution-data-server patch -p0 < evolution_data_server__mmap_summary.diff ./autogen.sh --prefix=/opt/eds-mmap && make && sudo make install evolution --force-shutdown export LD_LIBRARY_PATH=/opt/eds-mmap/lib evolution (and wait a few minutes to let the summary files get build) evolution --force-shutdown valgrind --tool=massif evolution
Please do this procedure with and without the LD_LIBRARY_PATH and measure the difference. If you have any technical questions about it, feel free to ask me.