Fixed MemoryError

master
Коренберг Марк 2018-05-14 20:25:42 +05:00
parent f59e47636f
commit 2a976a0254
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def main():
mode = params.mode
secs = params.duration
bigsize = params.bigsize
smallsize = params.bigsize * 1024 * 1024
smallsize = params.smallsize
bigdata = cycle([os.urandom(bigsize), os.urandom(bigsize)])
smalldata = cycle([os.urandom(smallsize), os.urandom(smallsize)])