Wednesday, May 29, 2013

Quick way to fix ORA-27102: out of memory on Solaris 10/11 during the installation

When the error encountered, do NOT click “Cancel”, adjust the process level resource limit and click “Retry” will the time.

oracle@solaris11:/u01/stage/database$ ps -ef|grep java
  oracle  1836     1   0 21:08:46 pts/1       2:00 /tmp/OraInstall2013-05-29_09-08-41PM/jdk/jre/bin/amd64/java -Doracle.installer.
  oracle  4035  1800   0 21:44:13 pts/1       0:00 grep java

root@solaris11:~#  prctl -r -n project.max-shm-memory -v 5000000000 -i process 1836

root@solaris11:~# prctl -n project.max-shm-memory  -i process 1836
process: 1836: /tmp/OraInstall2013-05-29_09-08-41PM/jdk/jre/bin/amd64/java -Doracle.i
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
       privileged      4.66GB      -   deny                                 -
        system          16.0EB    max   deny                                 -

The process level resource limit automatically inherited by child process:

To confirm:

root@solaris11:~# ps -ef|grep smon
  oracle  5190     1   0 21:51:35 ?           0:00 ora_smon_orcl2

root@solaris11:~# prctl -n project.max-shm-memory  -i process 5190
process: 5190: ora_smon_orcl2
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
        privileged      4.66GB      -   deny                                 -
        system          16.0EB    max   deny                                 -

No comments:

Post a Comment