跳至内容
菜单
此问题已终结
5 回复
4450 查看

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.

形象
丢弃

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/

编写者

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

最佳答案

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.


形象
丢弃
最佳答案

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

Thank's

形象
丢弃
编写者

no not yet

相关帖文 回复 查看 活动
1
3月 15
5880
0
2月 22
1951
2
8月 25
3127
1
7月 25
1324
1
8月 25
1152