I’ve noticed strange peaks in memory usage (several GB) during evaluation of my code, sometimes freezing operating system. Nailed it down to numerical evaluation of “bignum” expressions like this: MaxMemoryUsed[N[Abs[Tanh[Power[E,Power[Pi,E]]]]]] Unfortunaltely, MemoryConstrained do not work as expected, e.g: MaxMemoryUsed[MemoryConstrained[N[Abs[Tanh[Power[E,Power[Pi,E]]]]],65536]] still request 2GB of memory. Setting SetSystemOptions[“CatchMachineUnderflow” -> False] do not help as well. I’m usingRead more