This question has been flagged
5 Replies
3078 Views

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
Discard

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/

Author

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
Discard
Best Answer

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

Thank's

Avatar
Discard
Author

no not yet