blobs in DB are base64 encoded in ram. that menas you probably need twice
that in ram.
On Wednesday, 10 July 2013 06:32:34 UTC-5, Joel Samuelsson wrote:
>
> Hi,
>
> I am using an sqlite db to store a blob locally. The blob is a pickled
> file of a list I have in memory. Reading the entire list into memory causes
> no issues, nor does saving the pickled file into the db. However, when I
> try to pull the blob from the database, I get a MemoryError exception, the
> last line run being:
> web2py/gluon/dal.py", line 1809, in parse_value
> value = value.encode('utf-8')
>
> The file in which the database lies is 443MB (meaning my blob can be no
> larger than that). I'm having more than 4GB of free memory when I run the
> script so loading the blob into memory shouldn't be a problem.
>
> Are there any other limits on memory usage I need to be aware of?
>
> Best regards,
> Joel Samuelsson
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.