Lakshminarayanan
Lakshminarayanan

Reputation: 320

Dump and Zip file can not resore odoo 8, how to solve it?

**File "/odoo/odoo-server/addons/web/controllers/main.py", line 757, in restore

data = base64.b64encode(db_file.read())

File "/usr/lib/python2.7/base64.py", line 54, in b64encode

# Strip off the trailing newline MemoryErrorline MemoryError**

enter image description here

Upvotes: 0

Views: 1228

Answers (1)

Omi Harjani
Omi Harjani

Reputation: 840

This error occurs since the size of the database backup is larger than Odoo worker's current memory limit. Increase limit_memory_soft and limit_memory_hard values in the configuration, or restore the file directly in PostgreSQL by typing createdb dbname followed by psql dbname < DBDump.

Upvotes: 1

Related Questions