Huge memory leak in calibre-server's heap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I first start calibre-server, it uses <100MB of memory in total.
In my particular case, calibre-server was started over 6 hours ago and it has only used about 2 minutes of CPU time. However, the total memory usage has skyrocketed to over 740 MB. I have experienced it get as high as 1.3 GB.
Here is the memory info:
Private 758660 KB (= 3112 KB clean + 755548 KB dirty) ←----- Quite a lot dirty!
Shared 4920 KB (= 4920 KB clean + 0 KB dirty)
Rss 763580 KB (= Private + Shared)
Pss 760022 KB (= Private + Shared/Number of Processes)
Swap 0 KB
Private
724308 KB [heap] ←----- Why is this heap usage so high?
7692 KB [stack:28150]
5440 KB /dev/zero (deleted)
2048 KB [stack:28179]
2048 KB [stack:28172]
Shared
1448 KB /lib64/libc-2.23.so
868 KB /opt/calibre/
860 KB /opt/calibre/
328 KB /opt/calibre/
236 KB /opt/calibre/
I am using: calibre-server (calibre 2.56)
on Slackware-current, Linux 4.4.9