diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c6975cded4612aa5fa9f4cf06f72bf4014174036..6b1b1703a646ed6a6598ec04a166e76545b8a9f1 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -579,7 +579,7 @@ config DEBUG_KMEMLEAK
 config DEBUG_KMEMLEAK_MEM_POOL_SIZE
 	int "Kmemleak memory pool size"
 	depends on DEBUG_KMEMLEAK
-	range 200 40000
+	range 200 1000000
 	default 16000
 	help
 	  Kmemleak must track all the memory allocations to avoid