コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
1640 ビュー

We have over 22K products and I'm trying to update product costs before we go live but keep getting the error " An unknown issue occurred during import (possibly lost connection, data limit exceeded or memory limits exceeded). Please retry in case the issue is transient. If the issue still occurs, try to split the file rather than import it at once." I have separated the file into multiple small files only 65kb and less than 500 products. I have previously imported thousands of product data and never encountered this error. What is causing this and what can I do to get past this?

アバター
破棄
最善の回答

Hi,

You can try running your Odoo instance with an exceeded CPU and real-time limit.

 In the config file, add parameters limit-time-cpu & limit-time-real also set their limit to 99999 for just testing purposes.


The limit_time_cpu parameter is used to specify the maximum time allowed for the  CPU per request. By default, it is set to 60. When encountered with,  Exception: CPU time limit exceeded , you should increase the limit_time_cpu value.

For more details, refer to the blog:
https://www.cybrosys.com/blog/analysis-of-conf-file-parameters-in-the-odoo-16

Hope it helps

アバター
破棄
著作者

Okay, thank you. I will give this a try.

最善の回答

Hi Pam,

I think this video can help you: https://www.youtube.com/watch?v=XW0UIWIYKac&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=7

アバター
破棄
著作者

Thank you for sharing this video

最善の回答

Sometimes it can help to use a larger file and set a small batch limit (this option is only displayed if the file has more than a certain number of records)

This then gives you a progress bar showing the upload.  You could try a very small number and see if that works!

アバター
破棄