Fixed MemoryError
parent
f59e47636f
commit
2a976a0254
2
main.py
2
main.py
|
@ -152,7 +152,7 @@ def main():
|
||||||
mode = params.mode
|
mode = params.mode
|
||||||
secs = params.duration
|
secs = params.duration
|
||||||
bigsize = params.bigsize
|
bigsize = params.bigsize
|
||||||
smallsize = params.bigsize * 1024 * 1024
|
smallsize = params.smallsize
|
||||||
|
|
||||||
bigdata = cycle([os.urandom(bigsize), os.urandom(bigsize)])
|
bigdata = cycle([os.urandom(bigsize), os.urandom(bigsize)])
|
||||||
smalldata = cycle([os.urandom(smallsize), os.urandom(smallsize)])
|
smalldata = cycle([os.urandom(smallsize), os.urandom(smallsize)])
|
||||||
|
|
Loading…
Reference in New Issue