Sumatrapdf: Memory leak?

Created on 11 Mar 2020  路  5Comments  路  Source: sumatrapdfreader/sumatrapdf

Just scrolling this pdf from start to finish, starting on page one. Look at how much memory uses Sumatra v3.2.12205 Git-43892bdbe:

4GB memory using

4 Gb!
Sumatra v3.2 Git-4207ab7ab wasn't so 芦greedy禄:

350 Mb memory using

Only 350 Mb. The same pdf on the same machine. I only changed the version of the Sumatra.

I am testing on Windows 8.1 x64 virtual machine (under Parallels Desktop on Mac OSX host).

Most helpful comment

Was just aggressive caching.

All 5 comments

Was just aggressive caching.

Unfortunately, it only got worse. Upon reaching 202 pages of the test document above Sumatra just hangs, eating about 281 mb. Win 7 x64 system, tested on the SumatraPDF-prerel-12315-64 assembly.

Ooops... Windows 8.1 x64
Sumatra Hangs

That was unrelated regression in logging that would lock up. Should be fixed now.

@kjk: Here's another report from the forum of a high res PDF that 3.1.2 could handle but seems to overwhelm 3.2+ (tested with SumatraPDF-prerel-13136-64 also), to such an extent that the entire system hangs and requires a hard reset. Link to sample file can be found in the forum thread. Anything that can be done to improve the situation in this case?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carlvn picture carlvn  路  3Comments

vvRFvv picture vvRFvv  路  4Comments

zeniko picture zeniko  路  5Comments

kjk picture kjk  路  4Comments

klonuo picture klonuo  路  8Comments