[OS X TeX] TeXShop crashs again
Gary L. Gray
gray at engr.psu.edu
Wed Nov 14 09:32:16 EST 2007
On Nov 14, 2007, at 6:12 AM, RA Friedrich Vosberg wrote:
> Process: TeXShop [2612]
> Path: /Applications/TeX/TeXShop.app/Contents/MacOS/TeXShop
> Identifier: TeXShop
> Version: 2.14-svn (2.14)
> Code Type: X86 (Native)
> Parent Process: launchd [2566]
I see you are running Leopard. Have you followed Dick Koch's
instructions regarding TeXShop under Leopard, that is, have you done:
> For a long time, users have pointed out that TeXShop leaks memory
> when a file is typeset. After typesetting many times, it may be
> necessary to quit and restart the program.
>
> This leakage is deliberate. When Tiger was introduced, I discovered
> that the program became sluggish after typesetting a large file.
> Experiments showed that the sluggishness occurred when the system
> released the old pdf data from memory. So I added code which kept
> the old pdf data rather than disposing it, and the sluggishness
> vanished. See
>
> TeXShop Help --> How do I configure TeXShop --> Hidden Preference
> Items
>
> for details. TeXShop has a hidden preference to turn this "fix" off:
>
> defaults write TeXShop ReleaseDocumentClasses 2
>
> Recently, a few users reported that this command fixes the memory
> leakage without introducing sluggishness on Leopard. Thus I
> recommend that users type this command in Terminal (but ONLY if they
> are running Leopard!). Please let me know of any problems this
> creates. If the command is issued again with a "1" rather than a
> "2", you'll return to the current behavior.
Ever since doing this, I haven't had a single TeXShop crash and it no
longer leaks memory like a sieve.
Regards,
Gary
More information about the MacOSX-TeX
mailing list