Browse Source

reduce allocs for small systems with f.e. 64 MB RAM

Waldemar Brodkorb 8 months ago
parent
commit
d671070f6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/malloc/malloc.c

+ 1 - 1
test/malloc/malloc.c

@@ -5,7 +5,7 @@
 #include <stdio.h>
 
 #define N_PTRS 1000
-#define N_ALLOCS 10000
+#define N_ALLOCS 1000
 #define MAX_SIZE 0x10000
 
 #define random_size()	(random()%MAX_SIZE)