tests/malloc: reduce maximum memory size on 32-bit platforms
@@ -37,7 +37,11 @@ int main(void)
test_malloc(2*1024*1024ULL);
- test_malloc(500*1024*1024ULL);
+#if (UINTPTR_MAX == UINT64_MAX)
+ test_malloc(512*1024*1024ULL);
+#else
+ test_malloc(400*1024*1024ULL);
+#endif
printf("malloctest done.\n");
return 0;
