Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Wkhtmltopdf failed (error code: -11). Memory limit too low or maximum file number of subprocess reached. Message :

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
odooWkhtmltopdf14
4 Odpowiedzi
4520 Widoki
Awatar
Andikha

i download a module like purchasing, but when i clicked print and choose Purchase Order, i got that error:
Wkhtmltopdf failed (error code: -11). Memory limit too low or maximum file number of subprocess reached. Message : 

I'm using odoo14 and MacOS

0
Awatar
Odrzuć
Awatar
Najlepsza odpowiedź

any solution

0
Awatar
Odrzuć
Awatar
Jour Kevin
Najlepsza odpowiedź

i tried the proposed solution above and i still got the same error.
I got the same configuration as Andikha.

No problem on windows or linux. But on MacOs, printing a report is a nightmare

0
Awatar
Odrzuć
Awatar
Andikha
Autor Najlepsza odpowiedź

i made it like this on odoo.conf:

limit_memory_hard = 900000000000000

limit_memory_soft = 2147483648

limit_request = 8192

limit_time_cpu = 60

limit_time_real = 120

limit_time_real_cron = -1


but still error, and i already check my Wkhtmltopdf:

wkhtmltopdf --help

Name:

  wkhtmltopdf 0.12.6 (with patched qt)


0
Awatar
Odrzuć
Awatar
figaloprepod
Najlepsza odpowiedź

The error you’re encountering with Wkhtmltopdf and Odoo 14 on MacOS suggests that the memory limit is too low or the maximum number of files that can be opened by a subprocess has been reached. Here are a few steps you can try to resolve this issue:


Increase the Memory Limit: You might need to increase the limit_memory_hard parameter in your Odoo configuration file. This sets the maximum allowed memory per worker1.

Increase File Descriptors Limit: The error could also be due to the limitation of max handle file per process. You can increase this limit by running the command ulimit -n 10000 in your terminal.

Check Wkhtmltopdf Installation: Ensure that Wkhtmltopdf is installed correctly on your system. You can test it by running wkhtmltopdf --help from the command line to see if it works.

Modify the Report Template: If the error occurs when generating large PDFs or when empty content is drawn on the last page, you might need to adjust the report template. For instance, setting the table width to 99% can sometimes prevent the error by ensuring there’s content on the last page.

0
Awatar
Odrzuć
Jour Kevin

I think I've found a solution!

I downloaded an old version of wkhtmltopdf (0.12.4) and installed it on my Mac. Then, I copied and pasted the contents of wkhtmltopdf into the virtual environment (venv) of my Odoo installation, where Homebrew had installed the latest version. No more errors so far.

Since macOS and Homebrew only allow you to install the latest version (which can be frustrating), you can copy and paste the version you want into the packages of your virtual environment.

I'm a newbie in computer science, but I'm stubborn!

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
fields_view_get
odoo 14
Awatar
0
maj 24
1621
Help how to change View operation details Line limit from 40 to 100
odoo 14 HELP
Awatar
0
maj 24
1849
View operation details LImit from 40 TO 100
help odoo 14
Awatar
0
maj 24
1434
SOC 1 Report
odoo
Awatar
Awatar
2
lis 25
330
邮箱无法正常使用
odoo
Awatar
Awatar
1
lis 25
2274
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now