Friday, January 15, 2016

ORA-04030: out of process memory when trying to allocate

What is ORA-04030?
  • This error indicates that the oracle server process is unable to allocate more memory from the operating system.
  • This memory consists of the PGA (Program Global Area) and its contents depend upon the server configuration.
  • For dedicated server processes it contains the stack and the UGA (User Global Area) which holds user session data, cursor information and the sort area. 
  • In a multithreaded configuration (shared server), the UGA is allocated in the SGA (System Global Area) and will not be responsible for ORA-4030 errors.
  • This ORA-04030 can be caused by a shortage of RAM on a dedicated (non shared server) environment, a too small PGA, and by not setting kernel parameters large enough to allow enough RAM.
What will happen?
  • We can't allocate more memory from the operating system.
Query to find out the memory usage for processes from the OS


SELECT SID,NAME,VALUE FROM  v$statname n,v$sesstat s WHERE    n.STATISTIC# = s.STATISTIC# AND NAME LIKE 'session%memory%'  ORDER BY 3 ASC;

How to avoid?

  • Get more memory or reduce your need for memory
  • Increase pga_aggregate_target
  • Decrease sort_area_size and/or hash_area_size

1 comment:

Adi smith said...

The most effective method to Solve Oracle ORA-04030 Error Message through Remote DBA Services
The Oracle Error ORA-04030 underwear that "Out of process memory" The ORA-04030 is a mix-up caused by an inadequacy of RAM on a committed (non-shared server) condition. Generally, the screw up is an "out of process memory" botch, where Oracle can't acquire the RAM anticipated that would complete the undertakings. It can in like manner be caused by too little of a Program Global Area (PGA) and by not setting parameters adequately considerable to allow enough RAM for taking care of. It is a run of the mill botch when running an import as well. The oversight can happen when trying to execute an outside movement or when running a data pump import.
Contact to Online Oracle DB Support and Database Administration for Oracle to fathom this blunder.
For More Info: https://cognegicsystems.com/
Contact Number: 1-800-450-8670
Email Address- info@cognegicsystems.com
Company’s Address- 507 Copper Square Drive Bethel Connecticut (USA) 06801