Odoo Help

Welcome!

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.

0

Backup-Errror with "MemoryError"

By
Erik Bruder
on 7/21/14, 5:23 PM 2,011 views

While making backup with onboard tool of openerp 7 on ubuntu 12.04 server process uses much time and isn't successful.

log file:

 

Traceback (most recent call last):
  File "/opt/openerp/v7/server/openerp/netsvc.py", line 296, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/v7/server/openerp/service/web_services.py", line 122, in dispatch
    return fn(*params)
  File "/opt/openerp/v7/server/openerp/service/web_services.py", line 287, in exp_dump
    return base64.encodestring(data)
  File "/usr/lib/python2.7/base64.py", line 315, in encodestring
    pieces.append(binascii.b2a_base64(chunk))
MemoryError

 

How to get rid of this error?

Can you share the Hardware numbers of your server, and size of your db?

Vauxoo S.A. de C.V., Nhomar Hernandez
on 7/22/14, 1:06 AM
Hardwarespecs:
Operating system Ubuntu Linux 12.04.4
Processor information Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz, 2 cores
CPU load averages 0.00 (1 min) 0.02 (5 mins) 0.00 (15 mins)
CPU usage 0% user, 0% kernel, 0% IO, 100% idle
Real memory 230.17 MB used, 6 GB total
<img src="cid:part1.03080906.04040501@googlemail.com" height="10" width="12"><img src="cid:part2.01050907.06030504@googlemail.com" height="10" width="288">
Local disk space 18.34 GB used, 200 GB total

Last manually made dump: dbbackup-20140721_135956.dmp  2.6 GB



Am 22.07.2014 07:06, schrieb Nhomar Hernandez:
<blockquote cite="mid:1406005589.654093027114868.577097041532149-openerp-58047-forum.post@openerp.v7.openerp.com" type="cite">

Can you share the Hardware numbers of your server, and size of your db?

--
Nhomar Hernandez Sent by Odoo Inc. using Odoo. Access your messages and documents in Odoo
--

Bruder Datentechnik

Erik A. Bruder
Fachinformatiker (IHK)

Büro-Anschrift:
Sonnengasse 9
D-89597 Munderkingen
Telefon: +49  73 93 / 40 50 80 1
Telefax: +49  73 93 / 40 50 80 4
Mobil:   +49  162 / 47 60 791
Email:   info@conerix.de
Web:     www.conerix.de
on 7/22/14, 3:14 AM
0
Erik Bruder
On 7/22/14, 3:23 AM

Hardwarespecs:
Operating system         Ubuntu Linux 12.04.4
Processor information     Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz, 2 cores
CPU load averages         0.00 (1 min) 0.02 (5 mins) 0.00 (15 mins)
CPU usage             0% user, 0% kernel, 0% IO, 100% idle
Real memory             230.17 MB used, 6 GB total
Local disk space         18.34 GB used, 200 GB total

Last manually made dump: dbbackup-20140721_135956.dmp  2.6 GB

Hello Erik. Did you find a solution to this problem? I am currently getting the same error on a custom module. I was thinking it could be something in the config, like a parameter, limit_memory_hard or soft. But even after increasing this, the error gets thrown.

Cats&Dogs bvba, SonnyV
on 10/28/15, 4:55 AM
No i didn't, but i switched to ubuntu 14.04 several month ago.. and erros doesn't come up again

Am 28.10.2015 um 09:55 schrieb SonnyV:
<blockquote cite="mid:1446022544.070074081420898.785290298971805-openerp-58097-forum.post@accounts-a.odoo.com" type="cite">

Hello Erik. Did you find a solution to this problem? I am currently getting the same error on a custom module. I was thinking it could be something in the config, like a parameter, limit_memory_hard or soft. But even after increasing this, the error gets thrown.

--
SonnyV
Sent by Odoo S.A. using Odoo about Forum Post False
--

Bruder Datentechnik

Erik A. Bruder
Fachinformatiker (IHK)

Büro-Anschrift:
Sonnengasse 9
D-89597 Munderkingen
Telefon: +49  73 93 / 40 50 80 1
Telefax: +49  73 93 / 40 50 80 4
Mobil:   +49  162 / 47 60 791
Email:   info@conerix.de
Web:     www.conerix.de
on 10/28/15, 6:50 AM

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)

Stats

Asked: 7/21/14, 5:23 PM
Seen: 2011 times
Last updated: 10/28/15, 6:49 AM