JuliaAnimators/Javis.jl

[BUG] LaTeX Sometimes Causes High RAM Usage

Open

#212 opened on Sep 29, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (847 stars) (50 forks)batch import
bugenhancementhelp wantedquestion

Description

Before Filing a Report

  • Did I read the Documentation and/or docstrings?
  • Did I search the Javis GitHub to see if this bug has already been reported?
  • Am I familiar with the Javis philosophy?

Describe the bug

This is a strange bug that still has not been figured out yet. Every once in a while, Javis animations that are rather large and that utilize LaTeX cause excessive RAM usage. The error seems to be coming from the main latex function written in Javis but doesn't always cause this problem. To Reproduce

  1. Julia Version (i.e. output of julia -v): 1.5

  2. Operating system (Mac, Linux, Windows): Linux (Arch and Fedora) but probably all others

  3. Minimum working code example that led to bug: https://gist.github.com/Wikunia/d19e1447d4e59c18fe4f0e629345e9fa

Expected Behavior and Actual Behavior

We expect that after each execution of creating an animation, the buffer of one's computer is cleared and the RAM is no longer being taxed. Instead, the RAM sometimes remains in heavy use.

Screenshots

(Will be added)

Contributor guide