benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 113 forks source link

query view with Refresh false Cache limit issue #6

Closed sendtopms closed 14 years ago

sendtopms commented 14 years ago

What is the cache limit for ViewCache? will it grow to cause out of memory issue?

benoitc commented 14 years ago

Yes, actually it will keep the view in memory until you close it. I recommend for now to use couchbeam_view:close_view/1 function when you don't need result. Better cache is on my todolist though.

sendtopms commented 14 years ago

thats good. Thanks for the quick response.