Memory leak after upgrading 9.2.0.4 to 10.2.0.4 [message #415397] |
Mon, 27 July 2009 09:55 |
linuxos
Messages: 31 Registered: April 2009
|
Member |
|
|
Hi!
I've same set of program (mostly DELETE and INSERT statements) which can be executed successfully in 9i, but not 10g. All values of memory parameters are larger than or same as before.
It always throws "out of process memory" error in 10g. My PGA_AGGREGATE_TARGET is not over 2GB. (32 bit linux). I don't know why!
a. Is it possible for the SQL statement to bypass the Log buffer or Redo Log?
b. Can I set the LGWR and DBWR to run faster? (due to lots of SQL in a batch)
c. How can I efficiently use the PGA to avoid memory leak when running lots of SQL in a short period of time?
d. Is it valid to to SGA_TARGET + PGA_AGGREGATE_TARGET > 2GB?
Thanks in advance!
|
|
|
|
|
Re: Memory leak after upgrading 9.2.0.4 to 10.2.0.4 [message #415444 is a reply to message #415397] |
Mon, 27 July 2009 21:24 |
linuxos
Messages: 31 Registered: April 2009
|
Member |
|
|
I set the pga_aggregate_target to around 900MB. From the following result, is it suitable to set it to 1.5GB?
PGA_TARGET_FOR_ESTIMATE PGA_TARGET_FACTOR ADV BYTES_PROCESSED ESTD_EXTRA_BYTES_RW ESTD_PGA_CACHE_HIT_PERCENTAGE ESTD_OVERALLOC_COUNT
----------------------- ----------------- --- --------------- ------------------- ----------------------------- --------------------
112499712 0 ON 5054464 0 100 5
224999424 0 ON 5054464 0 100 5
449999872 1 ON 5054464 0 100 5
674999296 1 ON 5054464 0 100 4
899999744 1 ON 5054464 0 100 3
1079999488 1 ON 5054464 0 100 3
1259999232 1 ON 5054464 0 100 2
1439998976 2 ON 5054464 0 100 2
1619998720 2 ON 5054464 0 100 0
1799999488 2 ON 5054464 0 100 0
2699999232 3 ON 5054464 0 100 0
3599998976 4 ON 5054464 0 100 0
5399998464 6 ON 5054464 0 100 0
7199997952 8 ON 5054464 0 100 0
|
|
|
|
Re: Memory leak after upgrading 9.2.0.4 to 10.2.0.4 [message #415450 is a reply to message #415397] |
Mon, 27 July 2009 22:45 |
linuxos
Messages: 31 Registered: April 2009
|
Member |
|
|
When the total PGA inuse jumps to about 1.7GB, it died with these error.
ORA-12801: error signaled in parallel query server P023
ORA-00604: error occurred at recursive SQL level 2
ORA-04030: out of process memory when trying to allocate xxxxx bytes (QERHJ hash-joi,QERHJ Bit vector)
I can't control the memory leak of the PGA.
|
|
|
|
|
Re: Memory leak after upgrading 9.2.0.4 to 10.2.0.4 [message #415455 is a reply to message #415397] |
Mon, 27 July 2009 23:11 |
linuxos
Messages: 31 Registered: April 2009
|
Member |
|
|
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 278528
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 4194302
cpu time (seconds, -t) unlimited
max user processes (-u) 16384
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Which should be modified?
|
|
|
|