Oracle Solution for Error ora-00851

Solution for Oracle Error ORA-00851

ORA-00851: SGA_MAX_SIZE string cannot be set to more than MEMORY_TARGET string.

What triggered the Error:

SGA_MAX_SIZE value was more than MEMORY_TARGET value.

What should we do to fix it:

Set SGA_MAX_SIZE to be less than MEMORY_TARGET.