I am running Mathematica 9.0.1.0 on a MacBook with OS X El Capitan, version 10.11.6.
I used to have no problems using Mathematica. Then recently, it started to be extremely slow. Even for the simplest calculations (I mean trivial stuff, like 8 times 9). If the calculation is trivial I eventually get the answer but after more than a minute of work, even to find 8x9.
I checked the CPU usage and I see that even when I ask trivial calculations, the MathKernel process shoots up above 99% of CPU usage. I also noticed that if I abort the calculation, MathKernel sometimes remains there, still taking above 99% of the CPU. If I abort a second time (even though as far as I can tell from the Mathematica window no calculation is running), then the MathKernel process will disappear.
The most puzzling think is that Mathematica used to run fine, even with complex calculations. I have not made any changes or updates lately and it started acting this way. Now it is useless since it cannot do even simple calculations in a reasonable amount of time.
Can anyone help?
Thank you in advance!
init.mfile? Do$Pre,$PreRead, etc. have any definitions? – Michael E2 Jun 22 '18 at 03:36$UserBaseDirectory, that's where you start. You should be able tocdto it in Terminal. It's probably in~/Library/Mathematica, and you could get to it through the Finder with the Menu command Go > Library. The library directory is not indexed for SpotLight (the search index the Finder uses). It sounds like it's computing some hard integral or PDE every time you execute input. Check how longAbsoluteTiming[8 * 9]reports the multiplication takes. – Michael E2 Jun 22 '18 at 05:061for me right now. But after restarting Mathematica it's down to a more reasonable0.14seconds (timing it withSessionTime[]in cells before and after the1). I have no clue why it slowed down. (Mma V11.3.0.0, Macos 10.13.5.) – Michael E2 Jun 23 '18 at 20:32