Group Abstract Group Abstract

Message Boards Message Boards

0
|
39.8K Views
|
14 Replies
|
5 Total Likes
View groups...
Share
Share this post:

Mathematica 10: Notebook Freezing (auto-completion?)

Posted 12 years ago

I've just installed Mathematica 10, on Windows 7, but am having problems with the notebook freezing. Specifically, the problem seems to occur when typing functions, at the point where the predictive interface will try to suggest an autocomplete for the function. The notebook will freeze for 30 secs or so, and the window will report "not responding". It resolves itself eventually, presenting the autocomplete menu, but the delay makes using MMA 10 practically impossible.

The kernel seems to be fine.

Is this a known bug?

POSTED BY: Robert Ferguson
14 Replies
Posted 11 years ago

The issue is caused by the file that is supposed to make the prediction of your autocomplete better. Go to $UserBaseDirectory/.Mathematica/SystemFiles/FrontEnd/SystemResources/FunctionalFrequency and check the .m-file there. Everytime this happens to me, this file was several hundred MB large. Deleting it solves the problem.

POSTED BY: Matthias König
POSTED BY: Tom Sherlock

Though I do not know if this is a known bug (and I am on a Mac), you can bypass the autocompletion by going to the Preferences pane (from the Mathematica menu) and on the "Interface" tab uncheck "Enable autocompletion with a popup delay of xxx seconds". You can still bring up the autocompletion popup by typing command-k on the mac or (I think) alt-k on Windows. You can also leave the checkbox checked but change the default number of seconds for the popup to appear from the default of 0 seconds to a larger number.

POSTED BY: David Reiss
Posted 10 years ago

You could write a modified start-up script that deletes the CodeAssist-File every time before launching Mathematica.

POSTED BY: Matthias König
Posted 10 years ago

Tom: I just reported a bug of this kind and sent the file (407mb) to tech support.

POSTED BY: Matthias König
Posted 10 years ago
POSTED BY: J. FdCD
Posted 10 years ago

No problem, it happens quite frequently to me. A shame as well, since autocompletion without this file favors some weird suggestions sometimes (like when you type Integ... it will suggest "Integer" rather than "Integrate").

POSTED BY: Matthias König

I also just hit this!

Thank you so much, @Matthias König, for the workaround!

On the other hand: Why, Wolfram?! Why?

Posted 12 years ago

I have the same problem as well with Mathematica 10 on windows 7 64-bit . Quite annoying and makes mathematica nearly impossible to use. Any update whether this is a known problem? I may have to downgrade to Mathematica 9.0.

POSTED BY: James W

I keep getting the same issue as the OP. I've tried all of the above and it still freezes upon auto-completing even after I've increased the time and write simple functions as Plot, Solve, Factor etc. which takes less time to type than the auto-completing threshold I've entered.

POSTED BY: Robert Carlbergh

I briefly experienced something similar on my Windows machine, however the problem went away after starting with clean preferences and deleting the contents of $UserBaseDirectory.

POSTED BY: Ilian Gachevski
Posted 12 years ago

Thanks for the tip David. I had thought of delving into the preferences to see whether I could turn autocompletion off, but it's a feature I rather like! In any case, after multiple crashes, Mathematica 10's kernel decided it had licensing 'issues' and I think had become corrupted. I had to uninstall it. I hope a speedy bugfix for Windows users is forthcoming, but for now, I'm back to version 9.1.

POSTED BY: Robert Ferguson
Posted 12 years ago

I face the same problem with Windows 8.1. Back to using Mathematica 9 now.

POSTED BY: Borui Wen
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard