set DynamicMemoryEnabled to true if is config_dynamic_memory is set to true