I'm getting a MemoryError exception when I try and pickle an object.
The traceback is:

    value = pickle.dumps(value)
  File "/base/python_dist/lib/python2.5/pickle.py", line 1359, in
dumps
    Pickler(file, protocol).dump(obj)
  File "/base/python_dist/lib/python2.5/pickle.py", line 218, in dump
    self.save(obj)
  File "/base/python_dist/lib/python2.5/pickle.py", line 280, in save
    f(self, obj) # Call unbound method with explicit self
  File "/base/python_dist/lib/python2.5/pickle.py", line 643, in
save_dict
    self._batch_setitems(obj.iteritems())
  File "/base/python_dist/lib/python2.5/pickle.py", line 657, in
_batch_setitems
    save(v)
  File "/base/python_dist/lib/python2.5/pickle.py", line 280, in save
    f(self, obj) # Call unbound method with explicit self
  File "/base/python_dist/lib/python2.5/pickle.py", line 482, in
save_string
    self.write(STRING + repr(obj) + '\n')
MemoryError

I admit that the value is probably quite large -- maybe 2 or 3
megabytes, but this behavior seems a little excessive. Is there some
sort of limit that I should know about?

Thanks

Philip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to