If you want to use AMM The you only need to set memory_max_target and memory_target.
The total of your pga_aggregate_limit and sga_max_size can not exceed memory_max_target.
You should be able to specify the parameters as I have them and the database will manage
the memory for you.
Code:
alter system set memory_max_target = 6G scope=spfile;
alter system set memory_target = 6G scope=spfile;
alter system set pga_aggregate_limit = 2G scope=spfile;
alter system set pga_aggregate_target = 2G scope=spfile;
alter system set sga_max_size = 4G scope=spfile;
alter system set sga_target = 4G scope=spfile;