<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>I have code like:<br><br></div>for x in list_of_ints:<br></div> with db_session:<br></div> # do lots of database processing tied to x<br><br></div>I am doing it like this to stop the pony cache from using a lot of memory, but cache usage still grows over time. How can I stop this happening?<br><br></div>Thanks,<br><br></div>Matt<br clear="all"><div><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature">Regards,<br><br>Matthew Bell<br></div>
</div></div></div></div></div></div></div></div></div>