Fix memory allocation to 1024 in config.