تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
4470 أدوات العرض

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
مارس 15
5900
0
فبراير 22
1971
2
أغسطس 25
3182
1
يوليو 25
1373
1
أغسطس 25
1152