summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-08-04 13:20:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-08-04 13:20:16 +0200
commitd671070f6c3053b189b8ff324219dc55d63c4598 (patch)
tree1ed9ab6d49269ddb4273822aa52b0098f9cb4776 /test
parentfbba166496ed10de06035ed6bc68d52d1554cd31 (diff)
reduce allocs for small systems with f.e. 64 MB RAM
Diffstat (limited to 'test')
-rw-r--r--test/malloc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/malloc/malloc.c b/test/malloc/malloc.c
index ca7c5f9..e24ea3f 100644
--- a/test/malloc/malloc.c
+++ b/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)