What is heating the memory here? hashlib?
rosuav at gmail.com
Sat Feb 13 17:45:00 EST 2016
On Sun, Feb 14, 2016 at 9:26 AM, Paulo da Silva
<p_s_d_a_s_i_l_v_a_ns at netcabo.pt> wrote:
> I meant eating! :-)
Heh, "heating" works too - the more you use memory, the more it heats up :)
I'm assuming this is inside "class File:" and you have class members
for your constants like header size? There's no context for the name
What happens if, after hashing each file (and returning from this
function), you call gc.collect()? If that reduces your RAM usage, you
have reference cycles somewhere.
More information about the Python-list