Skip to Content
Menú
This question has been flagged
5 Respostes
4307 Vistes

Hello everybody!!

Can anyone help to know how to resolve this problem please.

I have used jasper reports to print reports.

But i have got this error:

2019-07-20 19:20:16,687 32046 INFO test odoo.addons.jasper_reports.jasper_report: Temporary data file: '/tmp/tmppsoxg2mi'
Error occurred during initialization of VM
Could not allocate metaspace: 1073741824 bytes
2019-07-20 19:20:17,893 32046 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connexion refusée (111, 'Connexion refusée')
2019-07-20 19:20:18,896 32046 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connexion refusée (111, 'Connexion refusée')

Can anyone help please.

Thanks a lot in advance.

Best regards.

Avatar
Descartar

Can you please specify which odoo version are working on for jasper report ?

Please find fresh module for jasper report from below link

https://www.odoo.com/apps/modules/11.0/jasper_reports/

Autor

I have got the module from this link but its not working on my machine. In fact, i am using odoo v11.

Best Answer

The problem comes from odoo hard memory limit set at start.
To fix this, you need to increase limit-memory-hard config value, for example set it to 8GB "8589934592" (8192×1024×1024).

Note that I had the same issue when calling pdftk (java based) in a python subprocess from odoo.


Avatar
Descartar
Best Answer

Hello, have you success to do it because I've got exactly the same eror.

Thank's

Avatar
Descartar
Autor

no not yet

Related Posts Respostes Vistes Activitat
1
de març 15
5666
0
de febr. 22
1779
2
d’ag. 25
2632
1
de jul. 25
1020
1
d’ag. 25
1151