powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Oracle [игнор отключен] [закрыт для гостей] / ORA-04030
6 сообщений из 6, страница 1 из 1
ORA-04030
    #32088394
Billing Group
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Делаю SELECT * FROM my_view и взамен получаю сообщение об ошибке ORA-04030: out of process memory when trying to allocate 2408 bytes (callheap,temporary memory) . Причем, просто запрос из которого сделана вьюшка, выполняется без ошибок.
Может кто-то уже стыкался с таким и подскажет как с этим бороться. База Oracle 9.2.0.1.0 без патчей на Linux SuSE 8.0.
...
Рейтинг: 0 / 0
ORA-04030
    #32088446
.dba
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
так прежде всего пропатчить и нужно :-)
...
Рейтинг: 0 / 0
ORA-04030
    #32088477
ShgGena
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А распределение памяти то какое:

show sga

select * from v$sgastat;

???
...
Рейтинг: 0 / 0
ORA-04030
    #32088490
Billing Group
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
SQL> show sga

Total System Global Area   374935832  bytes
Fixed Size                    450840  bytes
Variable Size              335544320  bytes
Database Buffers            33554432  bytes
Redo Buffers                 5386240  bytes
SQL>

Я увеличил ради эксперимента shared_pool_size на 100М (выше это увеличение учитывается), но без результатно. Возможно нужно попробовать уменьшить sort_area_size ?
...
Рейтинг: 0 / 0
ORA-04030
    #32088501
Фотография killed
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Нужно на металинке смотреть, похоже на баг из-за этой строчки (callheap,temporary memory)
...
Рейтинг: 0 / 0
ORA-04030
    #32088577
Paranoic
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Вот статейка из Металинка
Doc ID: Note:199746.1
Subject: How to Resolve ORA-4030 Errors on UNIX
Type: BULLETIN
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 16-JUN-2002
Last Revision Date: 07-NOV-2002


PURPOSE ======= Provide assistance in resolving ORA-4030 errors on UNIX systems. SCOPE & APPLICATION =================== This document is useful for DBA's and System Administrators tasked with resolving an ORA-4030 error.
BACKGROUND ========== The ORA-4030 error is caused when an Oracle process(while doing work on behalf of a client program) requests additional memory from the operating system, but the operating system cannot accommodate the request. This can occur because the operating system does not have enough physical memory or swap available for the process, the OS is configured to limit the amount of memory available for UNIX processes or an actual Oracle BUG has been encountered.
HOW TO RESOLVE THE ORA-4030 ===========================
1. Reduce the PGA (Program Global Area) for the client process encountering the error. This is valid if the database is not configured with MTS (Multi Threaded Server) or Shared Servers. For Oracle 8i and below the major portion of ORA-4030 instances can be solved by reducing the SORT_AREA_SIZE for the sessions. This will lessen the demand that the process places on physical memory. SORT_AREA_SIZE can be modified by the 'alter session' command but persistent changes must be recorded in the init<sid>.ora. See the Oracle Reference guide available on your Online Generic Documentation CD-ROM for more information on the 'sort_area_size' parameter. For Oracle 9i and up, the PGA can be sized using the PGA_AGGREGATE_TARGET parameter set in the init.ora or spfile.ora (See [NOTE:153367.1] and [NOTE:146577.1]).
2. Increase the amount of memory a UNIX process can request and use from the operating system. This usually refers to stack and/or data size UNIX process resource limits. This process varies slightly depending on the UNIX platform and the type of UNIX shell you are using. Generally speaking either the 'limit' or 'ulimit' command will allow your System Administrator to increase memory and data size limits. Oracle Support cannot recommend a specific value for these limits. However, doubling existing values or setting them to 'unlimited' is usually sufficient. For more information please refer to: [NOTE:188149.1] How to Display and Change UNIX Process Resource Limits
3. Increase the amount of swap available on your system. You should have 2-3 times the amount of physical memory available as swap space.
4. Finally, if you still experience the problem after addressing the above issues, it's recommended that you move to the latest patchset release to eliminate any possible Oracle product defects: [NOTE:169547.1] Understanding and Obtaining Oracle RDBMS Patchsets REFERENCES ==========
[NOTE:19836.1] OERR: ORA 4030 "out of process memory when [NOTE:1023744.6] ORA-04030 -07324: AFTER INCREASING THE SGA OR EXECUTING A LARGE QUERY [NOTE:61896.1] SOLARIS: S
GA size, sgabeg attach address and Sun architectures [NOTE:153655.1] SOLARIS Determing Oracle Memory Usage on Solaris <Note.123754.1> AIX Determining Oracle memory usage on AIX [NOTE:174555.1] Determining the Size of an Oracle Process
...
Рейтинг: 0 / 0
6 сообщений из 6, страница 1 из 1
Форумы / Oracle [игнор отключен] [закрыт для гостей] / ORA-04030
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]