Sublime Forum

ST2 - ~99% CPU usage process when compiling Latex

#1

Hi everybody, I didn’t see a section for introductions so here I am, directly asking something. :smiley:

I’ve recently switched from Textmate to ST2 and I’m liking it so far but I’m having some issues. The most annoying of it all is the following one. I use ST2 for Latex, with Latextools. But when compiling, 3 scenarios can happen:

  1. Everything compiles fine and the PDF is produced.

  2. There is some error, and the compiling process stops.

  3. There is some “mistake” (i.e. the code lacks a character like ; at the end of a command), so the process doesn’t stop and throws an error, but hangs, resulting in a process running in the background (either pdftex or xetex) reaching ~99% of CPU usage.

Number 3 is really annoying, because it basically gets all the resources for a phantom process, also unnecessarily heating my computer in the process.

Is this a problem with Latextools or ST2? This happened sometimes with Textmate, but in that case, I would simply terminate the compiling and all processes would be killed. In ST2, even if I terminate the compiling, the process will still go until I manually terminate it from Activity Monitor.

Any help is appreciated.

0 Likes