[philipp@a-188 RandTest]$ python3 nist-sts/dj/sp800_22_tests/sp800_22_tests.py devrandom.bin Tests of Distinguishability from Random TEST: monobit_test Ones count = 419433793 Zeroes count = 419427007 PASS P=0.8147535028975015 TEST: frequency_within_block_test n = 838860800 N = 99 M = 8473341 PASS P=0.7118648886560417 TEST: runs_test prop 0.5000040447711944 tau 6.905339660024878e-05 vobs 419437570.0 PASS P=0.6205191232730645 TEST: longest_run_ones_in_a_block_test n = 838860800 K = 6 M = 10000 N = 75 chi_sq = 3.9368259529809904 PASS P=0.6852253772534723 TEST: binary_matrix_rank_test Number of blocks 819200 Data bits used: 838860800 Data bits discarded: 0 Full Rank Count = 235711 Full Rank -1 Count = 474041 Remainder Count = 109448 Chi-Square = 4.839598782455176 PASS P=0.08893945770530086 TEST: dft_test Traceback (most recent call last): File "nist-sts/dj/sp800_22_tests/sp800_22_tests.py", line 139, in (success,p,plist) = func(bits) File "/home/philipp/RandTest/nist-sts/dj/sp800_22_tests/sp800_22_dft_test.py", line 38, in dft_test fs = numpy.fft.fft(ts_np) # Compute DFT File "/usr/lib64/python3.7/site-packages/numpy/fft/fftpack.py", line 189, in fft a = asarray(a).astype(complex, copy=False) MemoryError