[OS X TeX] Memory leak, how to debug?

Markus Klyver markusklyver at hotmail.com
Sun Feb 14 23:21:06 CET 2016


Last login: Sun Feb 14 23:18:39 on ttys001
devnull:~ e-markly01$ which pdflatex
/usr/texbin/pdflatex
devnull:~ e-markly01$  
devnull:~ e-markly01$ which latex
/usr/texbin/latex
devnull:~ e-markly01$  
devnull:~ e-markly01$ ls -alF /
total 16181
drwxrwxr-t  36 root        admin     1292  2 Feb 09:47 ./
drwxrwxr-t  36 root        admin     1292  2 Feb 09:47 ../
-rw-rw-r--@  1 root        admin    15364 23 Dec 16:34 .DS_Store
d--x--x--x   8 root        wheel      272  4 Sep  2013 .DocumentRevisions-V100/
drwxr-xr-x   2 root        wheel       68 27 Maj  2013 .PKInstallSandboxManager/
drwx------   5 root        wheel      170 27 Maj  2013 .Spotlight-V100/
d-wx-wx-wt   2 e-markly01  staff       68 10 Jul  2013 .Trashes/
srwxrwxrwx   1 root        admin        0  2 Feb 09:47 .dbfseventsd=
----------   1 root        admin        0 17 Aug  2012 .file
drwx------  98 e-markly01  staff     3332 12 Feb 11:16 .fseventsd/
drwxr-xr-x@  2 root        wheel       68 20 Jun  2012 .vol/
lrwxr-xr-x   1 root        wheel       49 14 Aug  2013 Användarinformation@ -> /Library/Documentation/User Information.localized
drwxrwxr-x+ 87 root        admin     2958  4 Feb 08:34 Applications/
drwxr-xr-x+ 67 root        wheel     2278 21 Mar  2014 Library/
drwxr-xr-x@  2 root        wheel       68 17 Aug  2012 Network/
drwxr-xr-x+  4 root        wheel      136 27 Maj  2013 System/
drwxr-xr-x   5 root        admin      170  3 Sep  2013 Users/
drwxrwxrwt@  3 root        admin      102  4 Feb 08:34 Volumes/
drwxr-xr-x@ 38 root        wheel     1292  9 Sep  2013 bin/
-rw-r--r--   1 e-markly01  admin       30 30 Maj  2015 console_history.txt
drwxrwxr-t@  2 root        admin       68 17 Aug  2012 cores/
dr-xr-xr-x   3 root        wheel     4412  2 Feb 09:46 dev/
drwxrwxr-x   6 root        admin      204  7 Mar  2010 efi/
lrwxr-xr-x@  1 root        wheel       11 27 Maj  2013 etc@ -> private/etc
dr-xr-xr-x   2 root        wheel        1  2 Feb 09:46 home/
-rw-r--r--@  1 root        wheel  8237248 22 Maj  2013 mach_kernel
dr-xr-xr-x   2 root        wheel        1  2 Feb 09:46 net/
drwxr-xr-x   4 root        wheel      136  3 Sep  2013 opt/
drwxr-xr-x@  6 root        wheel      204 27 Maj  2013 private/
drwxr-xr-x@ 62 root        wheel     2108 27 Maj  2013 sbin/
-rw-r--r--   1 e-markly01  admin        0  4 Feb  2015 sv
lrwxr-xr-x@  1 root        wheel       11 27 Maj  2013 tmp@ -> private/tmp
drwxr-xr-x@ 15 root        wheel      510  5 Feb  2015 usr/
lrwxr-xr-x@  1 root        wheel       11 27 Maj  2013 var@ -> private/var
devnull:~ e-markly01$  
devnull:~ e-markly01$ ls -alF /usr
total 24
drwxr-xr-x@   15 root  wheel    510  5 Feb  2015 ./
drwxrwxr-t    36 root  admin   1292  2 Feb 09:47 ../
lrwxr-xr-x     1 root  wheel      8  3 Sep  2013 X11@ -> /opt/X11
lrwxr-xr-x     1 root  wheel      8  3 Sep  2013 X11R6@ -> /opt/X11
drwxr-xr-x  1238 root  wheel  42092 16 Apr  2015 bin/
drwxr-xr-x     4 root  wheel    136 29 Jun  2011 etc/
drwxr-xr-x   288 root  wheel   9792  3 Sep  2013 include/
drwxr-xr-x   287 root  wheel   9758  5 Maj  2014 lib/
drwxr-xr-x   148 root  wheel   5032  5 Maj  2014 libexec/
drwxrwxr-x     7 root  admin    238 16 Maj  2011 llvm-gcc-4.2/
drwxrwxr-x    21 root  admin    714 20 Sep 15:56 local/
drwxr-xr-x   269 root  wheel   9146  3 Sep  2013 sbin/
drwxr-xr-x    67 root  wheel   2278  3 Sep  2013 share/
drwxr-xr-x     4 root  wheel    136 27 Maj  2013 standalone/
lrwxr-xr-x     1 root  wheel     63  5 Feb  2015 texbin@ -> /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin
devnull:~ e-markly01$  
devnull:~ e-markly01$ ls -alF /usr/local
total 104
drwxrwxr-x   21 root        admin    714 20 Sep 15:56 ./
drwxr-xr-x@  15 root        wheel    510  5 Feb  2015 ../
-rw-r--r--    1 e-markly01  admin    462 20 Sep 15:55 .gitignore
-rw-r--r--    1 e-markly01  admin    485 20 Sep 15:55 .travis.yml
-rw-r--r--    1 e-markly01  admin    291 20 Sep 15:55 .yardopts
-rw-r--r--    1 e-markly01  admin   3161 20 Sep 15:55 CODEOFCONDUCT.md
-rw-r--r--    1 e-markly01  admin   1103 20 Sep 15:55 CONTRIBUTING.md
drwxr-xr-x    3 e-markly01  admin    102  2 Feb 10:27 Cellar/
drwxr-xr-x    3 e-markly01  admin    102 11 Okt  2014 Frameworks/
-rw-r--r--    1 e-markly01  admin   1241 20 Sep 15:55 LICENSE.txt
drwxr-xr-x   10 e-markly01  admin    340 20 Sep 15:55 Library/
-rw-r--r--    1 e-markly01  admin   2134 20 Sep 15:55 README.md
-rw-r--r--    1 e-markly01  admin  23801 20 Sep 15:55 SUPPORTERS.md
drwxrwx---  294 504         admin   9996 20 Sep 16:12 bin/
drwxrwxr-x   12 root        admin    408 11 Okt  2014 etc/
drwxr-xr-x   93 e-markly01  admin   3162 10 Maj  2015 include/
drwxr-xr-x  237 e-markly01  admin   8058 10 Maj  2015 lib/
drwxr-xr-x   59 e-markly01  admin   2006 20 Sep 16:12 opt/
drwxr-xr-x    3 e-markly01  admin    102 15 Dec  2013 sbin/
drwxr-xr-x   32 e-markly01  admin   1088 11 Okt  2014 share/
drwxr-xr-x    5 root        wheel    170  4 Feb  2015 texlive/
devnull:~ e-markly01$  
devnull:~ e-markly01$ ls -alF /usr/local/texlive
total 0
drwxr-xr-x   5 root  wheel  170  4 Feb  2015 ./
drwxrwxr-x  21 root  admin  714 20 Sep 15:56 ../
drwxr-xr-x  20 root  wheel  680 16 Maj  2014 2013/
drwxr-xr-x  20 root  wheel  680  5 Feb  2015 2014/
drwxr-xr-x   9 root  wheel  306 16 Maj  2014 texmf-local/
devnull:~ e-markly01$ 


Best Regards,
Markus

> From: herbs at wideopenwest.com
> Date: Thu, 11 Feb 2016 12:52:01 -0600
> To: macosx-tex at email.esm.psu.edu
> Subject: Re: [OS X TeX] Memory leak, how to debug?
> 
> > On Feb 11, 2016, at 11:24 AM, Markus Klyver <markusklyver at hotmail.com> wrote:
> > 
> > Hi!
> > I'm have MacTeX-2015 installed. Well, the console doesn't say anything, it just "hangs." Or rather, allocates memory until there's nothing left.
> > 
> > Best Regards, Markus Klyver
> > 
> > > From: herbs at wideopenwest.com
> > > Date: Wed, 10 Feb 2016 20:09:36 -0600
> > > To: macosx-tex at email.esm.psu.edu
> > > Subject: Re: [OS X TeX] Memory leak, how to debug?
> > > 
> > > > On Feb 10, 2016, at 7:03 PM, Justin C. Walker <justin at mac.com> wrote:
> > > > 
> > > > 
> > > > On Feb 10, 2016, at 16:55 , Markus Klyver wrote:
> > > > 
> > > >> I just updated OSX (no upgrade) and every time I now try to compile something, the process (latex) just hangs and allocates more and more memory until all of my RAM and virtual memory are full. Is there any way to debug the cause of this behavior? Note: this kind of behavior arose with the update.
> > > >> Best Regards, Markus 
> > > > 
> > > > It might help to know what hardware and OS version you are using. Also, (just checking) are you using the command line, as in
> > > > % latex foo
> > > > ?
> > > > 
> > > > Thanks.
> > > > 
> > > > Justin
> > > 
> > > Howdy,
> > > 
> > > In addition, how about the TeX distribution you are using (MacTeX/TeX Live and what year(s) or other distribution(s)).
> > > 
> > > What is the console saying when you have the freeze?
> > > 
> > > I do have a bit of a problem with the OS having an effect on compilation unless you are going from a very old distribution and OS to a new OS.
> > > 
> > > If you have updated to El Capitan please see <http://www.tug.org/mactex/elcapitan.html> and, especially, the `Updating For El Capitan' document linked there.
> > > 
> > > Good Luck,
> > > 
> > > Herb Schulz
> > > (herbs at wideopenwest dot com)
> 
> Howdy,
> 
> What do the six commands
> 
> which pdflatex
> 
> which latex
> 
> ls -alF /
> 
> ls -alF /usr
> 
> ls -alF /usr/local
> 
> ls -alF /usr/local/texlive
> 
> run in Terminal return?
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 
> 
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                 https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20160214/66d92a8e/attachment-0001.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list