Hi team,
I facing the error "Failed to allocate memory" while publishing .adoc file to pdf. .adoc file is created in atom tool and publishing via gitbash using the command of asciidoctor pdf.
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
Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ 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 **
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
One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
insert your machine's response here
insert your commands here