[PonyORM-list] Controlling session caching

Matthew Bell matthewrobertbell at gmail.com
Thu Apr 14 19:46:08 UTC 2016


I have code like:

for x in list_of_ints:
  with db_session:
     # do lots of database processing tied to x

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?




Matthew Bell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ponyorm-list/attachments/20160414/f384b119/attachment.html>

More information about the ponyorm-list mailing list