tags:

views:

36

answers:

2

I have been messing with hash functions and functions to generate primes etc.

I had 3 lock-ups in a short period. This was odd since my macbook rarely locks-up and usually only when I run out of memory - which does not happen often.

But in this case, I had three in a row and none since (but I also am not generating as much load as before).

+2  A: 
  • infite loops
  • recursion + stackoverflow (not this site)
  • too much memory allocation
  • really heavy operations!
Andrey
The loops may have been infinite, but normally I can control-C them.Normally, stackoverflow is caught by the OS. I don;t recall seeing the memory consumption increasing and my app had a fixed memory requirement anyway. So that leaves 'heavy operations'. I just have one question: what is a heavy operation?
philcolbourn
+1  A: 

Maybe the CPU overheats and shutdowns itself for safety?

Guillaume
It certainly slows down, but eventually it has to be hard-reset.
philcolbourn