Message Boards Message Boards

1
|
620 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Mathematica blocks everything else while running

Posted 1 month ago

I have a Mathematica 14.2 notebook open with a Do loop over 12.000 fields of a list.The code runs forever. Particularly annoying is that during execution the whole screen is no longer accessible by the mouse. Neither the Mathematica notebook itself can be reached, e.g. for termination of the running calculation, nor can any open window on that screen be used; only a second monitor works ok. I think this is a problem!

POSTED BY: Ulrich Mosel
3 Replies
Posted 1 month ago

The data files I work wih are quite large and cannot easily be transferred. But here is what I find annoying: While the notebook evaluation runs it sort of takes hold of the whole screen; other open windows are no longer accessible. There is also no way to abort the evaluation, because the mouse freezes. The only way to stop iit is to go to the Windows program manager and kill the whole program. This is messy! I am running Mathematica 14.2 on a Windows 11 machine (with its latest updates).

POSTED BY: Ulrich Mosel

I agree this is deplorable behavior. It's just that we'd need something concrete to see if we can evince it at our end. Which would be the first step in diagnosing it.

Without more detail, I will speculate that the code in question is attempting to allocate considerable memory and the OS is not gracefully declining. If it did, you'd likely get a kernel crash but nothing worse. Maybe you can run the program in a memory-restriced mode to see if that helps? (This may be OS-specific, I'm not sure.)

POSTED BY: Daniel Lichtblau

If it is not too unwieldy, you might want to send the example to Technical Services. They can file a bug report from it.

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

Group Abstract Group Abstract