xreader allocates 100GB + 2 * 80GB WebKit
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- desktop, performance
Research direction
Start by reproducing the issue with a local PDF document and observe xreader, WebKitWebProcessor, and WebKitNetworkProcessor memory usage. Investigate why these processes allocate roughly 100 GB, 80 GB, and 80 GB, then verify that rendering the 2 MB text-only PDF no longer causes unjustified allocations or unnecessary network processing.
Written by the indexing model from the issue text.
Description
* Xreader version 2.8.2
* Distribution - Mint 20.1
Issue
xreader allocates 100 GB VM for itself.
In addition, it starts a WebKitWebProcessor at 80 GB and a WebKitNetworkProcessor at another 80 GB
Steps to reproduce
Open any local PDF document
Expected behaviour
Allocate the amount of memory needed to render the document. Even if this menory is virtual and possibly unreserved and not prepopulated, then still the sheer size is hard to justify as a need to render a 2 MB text-oinly PDF.
Other information
xreader is a local PDF viewer and the menu provides no options to access remote files. For this reason, I do not understand why it starts WebKit network processors.
- Dominant language
- C
- Stars
- 283
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/xreader
-
Cyrillic homoglyph characters used in place of ASCII <p> tags in Kazakh AppData description string Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
All issues in linuxmint/xreader
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·