I'm afraid I don't know the cause or solution of this problem, but I do encounter the same error from time to time when trying to create beamer slides with pandoc from markdown (using XeTeX). Two things might be of interest: First, iirc, the problem first occurred after one of the latest macOS updates (I think it was the update to 11.3 and not 11.3.1, but I'm not entirely sure). Second, the problem only occurs from time to time. Most of the time, building the slides works fine. Even if it occurs, a second run directly afterwards normally succeeds. Unfortunately, I wasn't able to reproduce the problem up to now. BP schrieb am Freitag, 7. Mai 2021 um 19:34:21 UTC+2: > Is --pdf-engine=xelatex helpful? > > The LaTeX runs will take longer though. > > Den fre 7 maj 2021 01:22John MacFarlane skrev: > >> >> You're converting to PDF, I gather. Do any conversions to other >> formats cause problems? If it is just PDF, the problem is likely >> due to the step where pandoc runs pdflatex on an intermediate >> tex file. That is also suggested by the error message >> itself. But I'm mystified as to what the problem is, exactly. >> ANd I don't have an M1 mac to test on. Can anyone else reproduce >> this? >> >> "Jason Davies" writes: >> >> > Hi folks, >> > >> > I just tried to convert three short Word files one at a time; one >> worked >> > fine but two gave errors like this: >> > >> > pandoc(24405,0x209984e00) malloc: can't allocate region >> > :*** mach_vm_map(size=1048576, flags: 100) failed (error code=268435465) >> > pandoc(24405,0x209984e00) malloc: *** set a breakpoint in >> > malloc_error_break to debug >> > pandoc: pdflatex: createProcess: runInteractiveProcess: exec: resource >> > exhausted (Cannot allocate memory) >> > >> > >> > I'm completely out of my depth here; does this seem to suggest the >> files >> > are quirky or is it a pandoc issue (which I could more usefully report)? >> > >> > Running an M1 Mac Mini on 11.3 and just reinstalled pandoc (March 20, >> > 2021 is the user guide date). >> > >> > Thanks for any suggestions. >> > >> > Cheers, >> > >> > Jason >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "pandoc-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/274588F4-8776-42E2-A982-3B8FAA3472C2%40gmail.com >> . >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/m2fsyza1nx.fsf%40johnmacfarlane.net >> . >> > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9d22d67f-fa8f-4989-84a6-344f7527e0fan%40googlegroups.com.