Comment #12 on issue 3222 by [email protected]: Memory problems with the cache
http://code.google.com/p/sympy/issues/detail?id=3222

Looks like it is a "shallow" sizeof. But even if it worked with objects, this is not the right way to go IMO. How much would you expect the cache to be allowed to use? 100 KB? 10 MB? 200 MB? It all depends on the system, and how many sympy instances are running at the same time, etc. Unless you *know* that cache does not help much when it grows bigger than X megabytes.

So the change in cache should be either conceptual (like the "make it local" idea or "clear on every garbage collection" or "keep only 100 most recently used items") or adaptive ("clear cache when 10% of available memory is used" or "clear when there is no more than 100 MB left"), or a hybrid of both.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to