View Single Post
Old 07-24-2009, 02:20 PM   #657
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by kovidgoyal View Post
@itimpi: Certainly sounds like a memory leak, the mem usage of the main calibre process should not grow that much when queueing books for conversion. The relevant function where the queueing happens is convert_bulk_ebooks in calibre.gui2.tools

Looking over the code, I don't see any obvious memory leaks and I don't have the time to debug it in detail right now. Maybe you will have better luck?
Thought I should let you know that the RAM is NOT released when the conversions finished just in case it triggers a thought from your end as to where the RAM might be getting allocated.

I will try and have a look at the source tomorrow to see if I can spot anything that might cause this behavior.

I wonder if anyone else has spotted this behavior and whether it is Windows specific or common to all platforms? If it happens on all platforms it will probably be much easier to find.

Last edited by itimpi; 07-24-2009 at 02:41 PM.
itimpi is offline