Oracle Solution for Error ora-04032

Solution for Oracle Error ORA-04032

ORA-04032: pga_aggregate_target must be set before switching to auto mode

What triggered the Error:

attempt to set workarea_size_policy to AUTO while pga_aggregate_target is not specified

What should we do to fix it:

before setting workarea_size_policy, set pga_aggregate_target to a value representing the total private memory available to the instance. This total is generally the total physical memory available in the system minus what is needed for the SGA minus what is needed for the operating system (e.g. 500MB)