Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase latexmk memory limit? #416

Open
PatrickvanZalm opened this issue May 15, 2023 · 0 comments
Open

Increase latexmk memory limit? #416

PatrickvanZalm opened this issue May 15, 2023 · 0 comments
Labels

Comments

@PatrickvanZalm
Copy link

Dear TinyTex people,

I've recently been using to vizualize a protein structure from TEX to a .DVI file. The command I use is as simple as:

dviFile <- tinytex::latexmk(proteinTexFile, clean = T, engine = "latex", engine_args = "-shell-escape")

In rare cases (i.e. large proteins) the engine runs out of memory. As I need it to be DVI file I understand I need to use latex engine. I've been trying to increase memory by changing the engine_args value to

dviFile <- tinytex::latexmk(proteinTexFile, clean = T, engine = "latex", engine_args = "-shell-escape -extra_mem_top=10000000 -extra_mem_bot=10000000")

Running the help command on latexmk in linux environment also did not make it any clearer to me.

Any chance I can increase this memory settings within the command itself? As I do not (always) have access as sudo/root.

Kind regards,
Patrick


By filing an issue to this repo, I promise that

  • [X ] I have fully read the issue guide at https://yihui.org/issue/.
  • [ X] I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('tinytex'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/tinytex').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • [X ] I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

@yihui yihui added the question label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants