Better memory consumption on annotated PDFs

I was recently looking at a PDF document and suddenly noticed Evince (GNOME’s PDF reader) was using a lot of memory for a ~100 page article that mostly contained text. Like a good FLOSS citizen, I looked upstream if there were any issues that matched what I had just seen, and that’s where I found my first clue on the problem. Someone reported that if you tried to load a document with a lot of annotations, memory consumption would immediately go up by several hundreds of Megabytes!...

January 4, 2020