git-for-windows / git

A fork of Git containing Windows-specific patches.
http://gitforwindows.org/
Other
8.36k stars 2.54k forks source link

Failed to allocate memory error while publishing pdf of .adoc file via git bash #3985

Closed Rkpandey12 closed 2 years ago

Rkpandey12 commented 2 years ago

for example If I have 100 .adoc file then it is publishing well to pdf, but if the total .adoc file is 101 it will show failed to allocate memory error.

Setup- Gitbash


$ git --version --build-options
git version 2.37.1.windows.1

** insert your machine's response here **
``` Failed to allocate memory

 - Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?

``` windows 10
$ cmd.exe /c ver
asciidoctor-pdf -a resources/themes/bp-pubs-theme.yml -a pdf-fontsdir=resources/fonts index1.adoc

** insert your machine's response here **
```Failed to allocate memory

 - What options did you set as part of the installation? Or did you choose the
   defaults?
default

One of the following:

> type "C:\Program Files\Git\etc\install-options.txt"

$ cat /etc/install-options.txt

insert your machine's response here


 - Any other interesting things about your environment that might be related
   to the issue you're seeing?

** insert your response here **

### Details

 - Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
bash
** insert your response here **

 - What commands did you run to trigger this issue? If you can provide a
   [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve)
   this will help us understand the issue.
asciidoctor-pdf -a resources/themes/bp-pubs-theme.yml -a pdf-fontsdir=resources/fonts index1.adoc

insert your commands here



 - What did you expect to occur after running these commands?
pdf
** insert here **

 - What actually happened instead?
if there is more than 100 .adoc file in repository it show failed to allocate memory error.
** insert here **

 - If the problem was occurring with a specific repository, can you provide the
   URL to that repository to help us with testing?

** insert URL here **
dscho commented 2 years ago

asciidoctor-pdf

This program is neither shipped with, nor supported by, Git for Windows.

Rkpandey12 commented 2 years ago

mac is a better option to go with?