MathJax "MathJaxTM is an open source, Ajax-based math display solution designed with a goal of consolidating advances in many web technologies in a single definitive math-on-the-web platform supporting all major browsers."
You can set the cpu time using ulimit, but to what? On our 4 quad-core machine, we have set the soft limit to 80 minutes (4800 seconds) but allow the user to increase it to up to two days. On our company wide file server it is set to 20 minutes (1200 seconds).
If you have too many high memory processes running, your machine probably won't like it. You can set the maximum CPU time per user in This gives every user 80 minutes of cpu time. You can check with: If a user needs more cpu (and is aware of that), he can increase it to up to two days but not more than that. Be careful, ulimit specifies cpu time in seconds, limits.conf in minutes.
TeX will locate any file in ~/Library/texmf/tex or in a subfolder of this folder; LaTeX will locate any file in ~/Library/texmf/tex/latex or a subfolder of this folder. For TeXshop on a Mac, .sty files are found in and all its subfolders. After placing a new file there, run to update the entries.