Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Why memory error giving while restoring the databse? db size : 838 MB

on 7/14/15, 7:23 AM 1,891 views

I am trying to restore my live database in to my local, Code is same and postgres version is same in my local and my live. It is giving the below error

2015-07-14 11:15:40,501 9282 ERROR ? openerp.addons.web.http.HttpRequest.dispatch: An error occurred while handling a json request

Traceback (most recent call last):

File "/home/samba/openerp7-pinatas/addons/web/http.py", line 285, in dispatch

r = method(self, **self.params)

File "/home/samba/openerp7-pinatas/addons/web/controllers/main.py", line 822, in restore

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

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

encoded = binascii.b2a_base64(s)[:-1]



Can any one give solution to me?

Are you sure you have memory in your pc??

Drees Far
on 7/14/15, 7:29 AM

Try to redownload your addons if its not Ok with you Here is the link: https://www.odoo.com/fr_FR/page/download

Drees Far
on 7/14/15, 7:31 AM

Yes i have, 30.7 GB free in my home directory

on 7/14/15, 7:48 AM

If you have any custom module in live server ..copy that custom module and paste into your local addons..Try may help this

on 7/14/15, 8:04 AM

I have same repository in local and live servers

on 7/14/15, 8:53 AM

Does anyone has a solution for this issue ?

Ahmed elbarbary
on 9/1/15, 4:59 AM

Axel Mendoza

--Axel Mendoza--
| 6 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 7/14/15, 12:57 PM

Memory error tipically are raised in Odoo when workers are configured to run Odoo with multiprocessing. This config option limits the memory to avoid system resource starving. You could increase it with limit_memory_soft and limit_memory_hard options



| 6 3 8
Ahmedabad, India

Working as an OpenERP/Odoo developer both experience in web and addons. you can contact me at:

E-mail : parikshitvaghasiya@gmail.com

Blog : parikshitvaghasiya.blogspot.in

Stackoverflow : http://stackoverflow.com/users/5089106/parikshit-vaghasiya

On 10/1/15, 6:52 AM

this error occured due to size of database . refer this link http://www.postgresql.org/docs/current/static/backup-dump.html#BACKUP-DUMP-RESTORE and take backup in terminal like this : pg_dump dbname > outfile.sql  
and restore sql like this : psql dbname  <  infile.sql

Hope this will help you !!

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 7/14/15, 7:23 AM
Seen: 1891 times
Last updated: 10/1/15, 6:52 AM