mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 05:21:33 +00:00
Number of iteration of --test-memory is now 300 (several minutes per gigabyte). Memtest86 and Memtester links are also displayed while running the test.
This commit is contained in:
@ -2262,7 +2262,7 @@ int main(int argc, char **argv) {
|
||||
strcmp(argv[1], "-h") == 0) usage();
|
||||
if (strcmp(argv[1], "--test-memory") == 0) {
|
||||
if (argc == 3) {
|
||||
memtest(atoi(argv[2]),10000);
|
||||
memtest(atoi(argv[2]),300);
|
||||
exit(0);
|
||||
} else {
|
||||
fprintf(stderr,"Please specify the amount of memory to test in megabytes.\n");
|
||||
|
Reference in New Issue
Block a user