The values themselves are pretty small. There is one text field that
can get to be a few sentences long, but is generally below 500
characters. There are, however, about 50 columns on the table we're
querying, and we hit a lot of them. The tables are not under our
control, so we are not able to clean things up on that end.
What's odd is that this error doesn't happen every time the request is
sent. Sometimes it comes through just fine, and other times it throws
the MemoryError exception. I have pasted a traceback from the Python
crash while running this on my Snow Leopard 10.6.2 machine on Django's
dev server. This is very similar to what is seen when production
apache2 + mod_wsgi + pyodbc crashes. You may find the traceback at:
http://pastebin.com/m2d03d03d
Thanks in advance,
Greg