View Single Post
Old 11-12-2016, 05:05 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,455
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Most calibre tasks run in separate short-lived worker processes, so they cannot contribute to long term memory usage of calibre. If you find that memory usage is growing over time, then it is likely something is leaking memory. The best way to find out what is to perform some calibre operations that you suspect repeatedly and watch the meory usage. Note that some increase is expected because python the language calibre is written in often does not immediately release memory back to the OS, as a performance optimization. But if you perform the same operation five times and get a roughly equal increase in mem usage each time, then that is likely a leak.
kovidgoyal is offline   Reply With Quote