ORA-32000: write to SPFILE requested but SPFILE is not modifiable I'm not able to alter the SORT_AREA_SIZE in my database.
Use the command:

create pfile ='loc' from spfile;


To create a pfile named loc. The edit this file and change the parameter in this pfile. Now create a new spfile from it:

create spfile from pfile ='loc';