Actually I did not make any changes to postgresql.conf
When studying about this parameter I thought I should check what my current setting(for maintenance_work_mem) is and then I found that it is commented in postgresql.conf while the pg_settings has the value enabled.