On Sat, 24 Nov 2018, 'Martin R' via sage-devel wrote:
I am running a big, but simple computation and running out of memory, but do not understand why. I am pretty sure that the problem is in the computation of the moebius function.
moebius_function() uses _moebius_function_values, which means that the result is implicitly cached.
-- Jori Mäntysalo