I have faced the below error in Oracle 11gR2 (184.108.40.206) release.
ORA-04031: unable to allocate 3896 bytes of shared memory (“shared pool”,”ALTER
DATABASE CLOSE NORMAL”,”sga heap(1,0)”,”kglsim object batch”)
this error indicates that you need to re-adjust your SGA memory in your database.
To Resolve this problem:
You need to increase the size of the shared_pool_size & java_pool_size in your init.ora file
Then you need to reboot your database after changing the parameters.
Hope This Helps