Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

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

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
odooWkhtmltopdf14
4 Besvarelser
4518 Visninger
Avatar
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
Avatar
Kassér
Avatar
Bedste svar

any solution

0
Avatar
Kassér
Avatar
Jour Kevin
Bedste svar

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
Avatar
Kassér
Avatar
Andikha
Forfatter Bedste svar

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
Avatar
Kassér
Avatar
figaloprepod
Bedste svar

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
Avatar
Kassér
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!

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
fields_view_get
odoo 14
Avatar
0
maj 24
1621
Help how to change View operation details Line limit from 40 to 100
odoo 14 HELP
Avatar
0
maj 24
1847
View operation details LImit from 40 TO 100
help odoo 14
Avatar
0
maj 24
1433
SOC 1 Report
odoo
Avatar
Avatar
2
nov. 25
329
邮箱无法正常使用
odoo
Avatar
Avatar
1
nov. 25
2273
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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