處理Oracle記憶體洩露 ORA-00600 [729] [space leak]
Understanding and Diagnosing ORA-600 [729] Space Leak Errors (文件 ID 403584.1) | 轉到底部 |
In this Document
APPLIES TO:Oracle Database - Personal Edition - Version 7.1.4.0 to 12.1.0.1 [Release 7.1.4 to 12.1]Oracle Database - Enterprise Edition - Version 7.0.16.0 to 12.1.0.1 [Release 7.0 to 12.1] Oracle Database - Standard Edition - Version 7.0.16.0 to 12.1.0.1 [Release 7.0 to 12.1] Information in this document applies to any platform. ***Checked for relevance on 17-Jun-2014*** GOALThe purpose of this article is to assist Oracle customers in understanding ORA-600 [729] UGA Space Leak errors. This article should help you understand what a space leak error is and what to do when one is encountered.
SOLUTIONWhat is a space (memory) leak?
Memory leak problems generally occur when Oracle is trying to free memory allocated to a process. The memory leak dump is generally discovered during session logoff, when Oracle frees the heaps that are allocated for the user process.
The memory is organized in to heaps and every heap consists of one or more extents. Each extent contains a series of contiguous memory chunks, and these chunks can be either FREE or ALLOCATED. The Generic Heap Manager takes care of allocating and deallocating the memory chunks, with the help of FREE LISTS and LRU LISTS.
1. FREE
When the process terminates, all of the memory that has been allocated for the process is automatically released. When the memory is released the allocated heaps are freed. Generally, when the heap is freed the only chunks that the process should identify as allocated are the PERMANENT chunks and FREE chunks on the freelist. If the process finds there are still FREEABLE or RECREATABLE chunks remaining, then the process has not properly deallocated the memory. This situation is considered a space leak. A space leak problem will generally capture the trace information and the heap dump. In the alert.log, the error will be reported as:
After the operating system and Oracle process header information you will see the following in the trace file:
How do I handle a space leak?
Step 1. Review the alert.log to verify the error and obtain the trace file information.
Below the operating system and Oracle process header information, you will see the following:
Step 3. Verify the leak was during session logoff.
4. Are you using Dedicated Server or Multi Threaded Server?
5. Can I ignore the leak?
Setting EVENT 10262: After the amount of bytes leaked has been determined to be minimal, and no other errors have been noted, you can choose to safely ignore the errors. Leaks up to 90,000 bytes in size are considered to be within the allowable range. In cases where the amount of bytes leaked is allowable and you do not want the errors to be reported in the alert.log file, set event 10262. This will stop reporting of the ORA-600 [729] error in the alert log file up to the specified number of bytes.
If the level is set to 1, space leak checking is disabled. This is not advised because large memory leaks will be missed. If the event is set to a value greater than 1, any space leak up to the number specified in the event is ignored.
If you find them, this bug is likely:
This issue is fixed in
REFERENCESNOTE:19837.1 - OERR: ORA 4031 "unable to allocate %s bytes of shared memory ("%s","%s","%s")"NOTE:21235.1 - EVENT: 10262 "Do not check for memory leaks" - Reference Note NOTE:31056.1 - ORA-600 [729] "UGA Space Leak" |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24585765/viewspace-1216778/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-00600: internal error code, arguments: [729], [4280], [space leak]2008-05-06Error
- 如何處理 JavaScript 記憶體洩露2017-10-05JavaScript記憶體洩露
- Android 記憶體洩露優化處理2017-11-06Android記憶體洩露優化
- win10驅動記憶體洩露如何解決_win10記憶體洩露處理方法2020-08-06Win10記憶體洩露
- SQL Server 記憶體洩露(memory leak)——遊標導致的記憶體問題2012-06-06SQLServer記憶體洩露
- 記憶體洩露2013-05-21記憶體洩露
- SQL Server 記憶體洩露”(memory leak)的案例—遊標導致的記憶體問題2011-08-15SQLServer記憶體洩露
- js記憶體洩露2017-03-24JS記憶體洩露
- JavaScript記憶體洩露2015-07-09JavaScript記憶體洩露
- 記憶體洩露嗎2009-12-14記憶體洩露
- SHBrowseForFolder 記憶體洩露2024-11-11記憶體洩露
- 記憶體溢位和記憶體洩露2022-11-30記憶體溢位記憶體洩露
- Lowmemorykiller記憶體洩露分析2018-11-15記憶體洩露
- 一行程式碼教你解決FlutterPlatformViews記憶體洩露(memory leak)2019-02-21行程FlutterPlatformView記憶體洩露
- Android WebView Memory Leak WebView記憶體洩漏2013-06-02AndroidWebView記憶體
- 使用 mtrace 分析 “記憶體洩露”2019-09-21記憶體洩露
- 實戰Go記憶體洩露2019-05-18Go記憶體洩露
- js記憶體洩露的原因2017-09-10JS記憶體洩露
- Java記憶體洩露的原因2015-03-14Java記憶體洩露
- JAVA 記憶體洩露的理解2014-10-26Java記憶體洩露
- IE中的記憶體洩露2010-12-10記憶體洩露
- 學習Java:記憶體洩露2007-08-23Java記憶體洩露
- 記一次Go websocket 專案記憶體洩露排查 + 使用Go pprof定位記憶體洩露2017-05-27GoWeb記憶體洩露
- Understanding and Diagnosing ORA-600 [729] Space Leak Errors_403584.12014-08-29Error
- Android 記憶體洩露詳解2018-12-31Android記憶體洩露
- 線上記憶體洩露定位--memleak工具2020-12-24記憶體洩露
- Pprof定位Go程式記憶體洩露2022-02-16Go記憶體洩露
- Android 檢測記憶體洩露2017-03-17Android記憶體洩露
- leaks工具查詢記憶體洩露2017-09-20記憶體洩露
- 記憶體洩露引起的問題2017-09-03記憶體洩露
- MFC記憶體洩露與檢測2017-06-12記憶體洩露
- 如何定位和解決記憶體洩露2016-07-27記憶體洩露
- JavaScript中的記憶體洩露模式2015-02-02JavaScript記憶體洩露模式
- ThreaLocal記憶體洩露的問題2013-06-22記憶體洩露
- JVM與記憶體洩露問題2007-04-09JVM記憶體洩露
- 造成記憶體洩漏的異常處理2022-04-10記憶體
- 如何避免JavaScript的記憶體洩露及記憶體管理技巧2014-09-26JavaScript記憶體洩露
- ArkTS 的記憶體快照與記憶體洩露除錯2024-10-29記憶體洩露除錯