I'm trying to log some statistics on the sizes of objects I store in memcache, for a specific set of keys. What I'm doing now is pickling the data in my application code, and logging len() of the picked string. This is wasteful because the cache machinery is just going to do the pickling all over again. Is there any way to find out how much memory each object I store is going to use without this extra overhead?
--- Roy Smith r...@panix.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.