MiKTeX and proTeXtmgs.exe - high CPU with YAP

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
peterm
Posts: 2
Joined: Tue Oct 21, 2008 7:11 am

mgs.exe - high CPU with YAP

Post by peterm »

Hi all.

I'm working with a pretty large document with plenty of figures which are either svgs or grey scale tiffs that have been converted to eps before compilation. When I output to postscript I get a 54 Mb file so it's up there.

Generally though I'm outputting to DVI and viewing with YAP. I find that while it compiles within a coupled of seconds, I get a period between 5-10s where mgs.exe uses about 100% CPU and YAP seems to lock up momentarily.

Would you say that this is just a result of the large postscript images that I'm dealing with or does it suggest a deeper problem?

I'm running MikTex 2.7 on WinXP (SP3) and have the Sep 2007 version of mgs.exe

Thanks, Pete.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

mgs.exe - high CPU with YAP

Post by localghost »

The main reason for the huge size of the document are the converted images. If you don't really need the DVI (or PS) format, convert your TIFF images to PNG (pixel based), the SVG images to PDF (vector based) and compile your document with pdflatex directly to PDF. This will yield a much smaller final document which can be viewed with any PDF viewer. And your system will not freeze anymore.


Best regards and welcome to the board
Thorsten¹
peterm
Posts: 2
Joined: Tue Oct 21, 2008 7:11 am

Re: mgs.exe - high CPU with YAP

Post by peterm »

thanks for that!

since all my files were already in eps format i ended up using the epstopdf package together with pdflatex and its worked a charm. i'll keep the png/pdf suggestion in mind for future work.

thanks again, pete
Post Reply