Bookdown error: ! I can't write on file `skills.pdf'.
I encountered this problem when using Bookdown.
|
Here is the answer from stackexchange:
In this case, the error is caused by not having enough memory. The
clone(...) = -1 ENOMEM (Cannot allocate memory) error from strace prompted me to check my ram usage. Running xelatex with 150M of free ram provokes the write/clone() error. Running with at least 500M of free ram consistently avoids the error. I haven't experimented enough to know exactly how much free ram is enough, but I suppose that also depends on the complexity of the tex file.
To compensate, I created a swap file (fwiw, I usually don't have one).
|
It works for me.
Comments
Post a Comment