This is a good point.  Is there any place in the Wiki for practical tips like this?

Henry Rich

On 12/3/2022 7:23 AM, bill lam wrote:
Sometimes this happens to me too when the process allocated far more memory
than physical ram available. The disk swapping for virtual memory prevented
any mouse click or keyboard response. The problem only way to stop it is to
long pressing the power button.

Therefore sometimes I want to set a lower limit of virtual memory. It is
better to trigger out of memory crash than waiting indefinitely and finally
power off the computer.

On Sat, 3 Dec 2022 at 8:14 PM Richard Donovan <rsdono...@hotmail.com> wrote:

Elijah;

Most times I can’t even get in to task manager. As this problem crashes
the whole system and causes the need for a reboot, I am obviously loathe to
try to recreate it!ick Next time it happens I wrepost with more info!

Thanks

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

________________________________
From: Programming <programming-boun...@forums.jsoftware.com> on behalf of
Elijah Stone <elro...@elronnd.net>
Sent: Friday, December 2, 2022 11:19:58 AM
To: J Programming <programm...@jsoftware.com>
Subject: Re: [Jprogramming] Avoiding J crash

Rebooting is a bit drastic; can you not kill j from task manager?

Beyond that, break _should_ work.  I can look into making it a bit more
responsive for long array operations, but am curious to know what
specifically
has caused you trouble.

On Fri, 2 Dec 2022, Richard Donovan wrote:

Hi!

Is there any way to avoid the situation whereby by  error I put J into
an infinite loop from which the only recovery is to reboot my Windows
laptop?
I guess that my erroneous routine is locking the CPU to such a such an
extent that I can’t even get to run Jbreak.
I quite often receive a recoverable situation when a limit has been
exceeded but if I get the infinite loop situation I have lost my entire
session and have to start again.
I really need a global setting which limits the amount of cpu usage and
aborts a function before it gets out of hand.
Thanks,

Richard
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to