Setting up AMM (automatic memory management) in 12c
Let me know if following 2 options are correct way of setting up AMM in 12c.
(1) During Oracle database installation , the DBCA gives you an option to turn on AMM (automatic memory management) you can check that option and by default allocate 40% of physical memory available.
Ex:- Total 50GB ram on the physical server and by using the above option it allocates 20GB to Oracle database.
Going forward with this new database we can say that AMM is enabled.
(2) If we have to manually setup AMM on the database. setup the following spfile parameters and reboot the instance.
memory_max_target=25G