WARNING: out of private memory [1]
The customer is seeing this warning message in the alert log file and the trace file. There is no other ORA error codes. What should we check for this warning?. Any inputs appreciated.
Regards
Sathya
Odd they aren't seeing 4030 or 600 errors. We definitely need more information, which versions and platforms and such. Just pulling rabbits out of my hat, I'd say they either hit some memory leak or are seriously off on kernel settings.
Cutting and pasting the alert log may be helpful too.
It could be some user session that does something odd, like recursively generating rows in memory, blowing past pga aggregate suggestions. Still, I'd expect some other errors. If you could get some pga statistics (or better, a statspack or AWR), that might inform.
I'd say, check out bug 5947623 and try that setting pgamax_size (with support, of course). My crystal ball says the customer is blowing way past any sensible PGA setting, getting an hp-ux error before a 4030 can be generated. But then again, my advice is worth what you are paying for it, or perhaps less.
Similar Messages
-
Imac keeps saying out of application memory.
This is truely a nucense, my imac keeps telling me it is out of application memory. I have a new 21.5 imac, i7, 8gb ram, fusion drive. Recently when havin gmore than one application open it has started to tell me that i am out of memory. Right now i was on facetime, had safari open and was surfing on one monitor while facetime was fullscreen on the other. It told me i was out of application memory. How is that even possible with two things open? I remember seeing someting about this being a problem with mavericks, I wanted ot report this to show that i am getting this also. I was wondering if anyone had any idea on a fix for this?
1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a few minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
Triple-click anywhere in the line of text below on this page to select it:
PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */ /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/\/Users\/Shared\//b'$'\ns/\/Users\/[^/]+\//\/Users\/USER\//g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps "Model"; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]|0[^2]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/{s/^.*://p;}' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '1d;/:$/{s/ *:$//;x;s/\n//p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ \(\2\)/;H;};/Apple|Genesy|Intel|SMSC/{s/.//g;h;}' | egrep -v '^ *[(]'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | awk 'NR>1 && !/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|openld|post[fg]|x)/{print $3}'`; Pm "Extrinsic daemons"; o=`launchctl list | awk 'NR>1 && !/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | egrep -v 'com\.apple\.(CSConfig|server)' | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; [[ "$b" && "$l" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do test -f "$d/Info.plist" || continue; ID=$($PB\ :CFBundleIdentifier "$_") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Extrinsic shared libraries"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Environment"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{print "not "}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print $3}'`; Ps "Netmask"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc "hosts" <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "Application check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps "UID"; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
Copy the selected text to the Clipboard by pressing the key combination command-C.
7. Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
8. If you see an error message in the Terminal window such as "syntax error," enter
exec bash
and press return. Then paste the script again.
9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
[Process completed]
to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed. -
As mentioned in my question above, it happens usually during playing games. I wondered if there were someway to clean out the virtual memory, as opposed to it "increasing" continually and overloading my memory in general. You are speaking with a computer novice for the most part, so I am unfamiliar with a lot. I do do updates and general maintenance on the computer, but is that enough for this issue?
Your plugins list shows outdated plugin(s) with known security and stability risks.
* Shockwave Flash 10.0 r45
Update the [[Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
Physical memory is the memory that is installed on your computer as real memory. To be able to run programs that require more memory and more programs at the same time (via time sharing and task switching) it is also possible to move (swap) currently not needed code and data to disk to make room for other programs and data. The total memory available for programs is the Virtual Memory.
You can check the Virtual Memory settings here: Control Panel > System > Advanced > Performance > Settings (Advanced tab)<br />
Windows can manage more memory then is physical available and that memory is stored in a page file on your hard drive.
If the size of that file is not large enough and all available memory is in use then you get the Virtual Memory is low warning.
Make sure that you have at least 1 GB or the recommended setting for the Virtual Memory.
If you have less than 1 GB physical memory installed on your computer then if possible add more memory.
http://support.microsoft.com/kb/555223 - RAM, Virtual Memory, Pagefile and all that stuff -
i am trying to validate a package body and getting the following error while doing that .
Any sollution for this
ORA-04030: out of process memory (PLS non-lib hp,pdz2M87_Allocate_PermanentHi Shakil,
Error: ORA 4030
Text: out of process memory when trying to allocate %s bytes (%s,%s)
Cause: Operating system process private memory has been exhausted
Action: See the database administrator or operating system administrator to
increase process memory quota. There may be a bug in the application
that causes excessive allocations of process memory space.
*** Important: The notes below are for experienced users - See Note:22080.1
Explanation:
The Oracle shadow process cannot allocate memory. The error
should show the number of bytes being requested and area where
they are required
Diagnosis:
1) Check for a subsequent error, Eg: ORA 7324, to see where
memory is being allocated.
2) Check user memory limits and swap space. If these are too
low you may get the above error.
Eg: 'limit' or 'ulimit -a' on Unix.
3) It may help to reduce <Parameter:SORT_AREA_SIZE> if this is large.
4) Check if using the Parallel Query Option - if an operation is
being performed in parallel the memory requirements are greater.
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
"Warning! Not Enough Memory!" A bug in Logic 7.1?
Hello,
I seem to have discovered a bug in my Logic 7.1, and would like to see if this is a system specific bug, or a bug in everyones Logic. It seems to occur in the Matrix editor which results in the error ""Warning! Not enough memory! This operation cannot be undone" and follows with the mysterious deletion of random parts, and totally corrupts the file, preventing me from doing any further MIDI edits or even undo the mysterious deleated parts!
Here is how I discovered it. I selected two separate audio instrument tracks (violin and viola) and opened them in the matrix editor. To see both parts at once, I double clicked on the background, resulting in viewing all possible MIDI parts. I then selected from the "show selected regions only" from the view menu to isolate the violin and viola parts. I then copied some notes from the violin part and then double clicked on the viola part and attempted to paste the violin information I copied to the viola part. However, the information would not paste for some reason, so I decided to simply draw in the new notes, and BAM, the error message "Warning! Not enough memory" occurs.
I have been able to replicate this error on my own system on a few occasions, but it doesn't always seem to happen which is strange. I may be able to get around it by making sure I double click and isolate the part I want to copy first, before isolating where I want to copy it to, however I need to test this idea out more often to make sure. In the mean time I have tried "reorganizing memory" in logic, repairing permissions and running all maintenance scripts, Re-installed the OS 10.3.9 update (just incase something didn't install correctly), ran apple "hardware test" in which everything passed, and trashed and rebuild my preferences, and I'm still able to create this error.
I do feel something is wrong here, I was wondering if anyone may be willing to try to duplicate this on their system, just so I can be sure there is a Logic bug, or maybe there is something wrong with my personal setup. (MANY weird things have been happening lately, such as corrupted key commands in my preference files).
Thanks in advance for your help!
-JonThanks for your comments Rohan. The reason this post was relatively clear headed is because I already went through my "freak out" process earlier that week! But thanks for your comments. I did try to make this post as clear as possible, in the hopes that others could potentially get the same "buggy" results. I guess the problem seems to stem from something bigger then how I arrived at it, but from what I've found researching it, the matrix editor does seem to play a consistent part.
Maybe we should send a quick note to apple, asking them to keep an eye out for this bug?
In answer to your specific questions, the size of my file before the error was 468KB, and the file after I saved the error is 544KB. Not a big enough difference to raise flags, as the error file does contain a few more seconds of music, some different parts, etc. The song itself is only 32 bars long @ 103bpm, and the total bars is set to 266. At the current tempo, the song would end at around 7min, much shorter then an hour. For the record, I have done many longer, more memory and CPU intensive pieces and experienced no such problems (except for the need to freeze a few tracks). For example, I recently scored a film that was heavy in Atmosphere, VSL, and Stormdrum, and ran an uncompressed film file and no problem. Now that I think of it, perhaps it could be an EXS problem even? For those who have experienced this error, were you editing a EXS part?
As for the Key commands problem, I will have to do more research and testing once I upgrade my system. I dont mind loosing my current key commands and preferences and starting again. In fact, I think I can do a better job customizing Logic now that I have a better idea of what it can do. However, if this seems to be a consistent problem, then I may not do too much customizing yet
Thanks again for the post Rohan. I hope everything runs soother in Tiger after a clean install. Any quick tips for optimal Tiger setups?
-Jon -
Getting ora-04030 out of process memory using utl_http package
Hi,
Using oracle db v9 on aix. I run an extract (pl/sql package) which processes about 50,000 records. When processing gets to about record 45,500 ora 04030 error is reported when calling utl_http.get response or utl_http.read_text. Only have this problem after about 45500 records prcoessed.
Can anybody help?donl wrote:
Hi,
Using oracle db v9 on aix. I run an extract (pl/sql package) which processes about 50,000 records. When processing gets to about record 45,500 ora 04030 error is reported when calling utl_http.get response or utl_http.read_text. Only have this problem after about 45500 records prcoessed.
Can anybody help?04030, 00000, "out of process memory when trying to allocate %s bytes (%s,%s)"
// *Cause: Operating system process private memory was exhausted.
// *Action:
[oracle@localhost ~]$ -
ORA-04030: out of process memory when trying ....
Hi!
Environment: Oracle Database 10.2.0.5.0 on Windows Server 2003 SP1. Memory: 4GB Ram. /3GB and PAE not set in boot.ini
There is a job that runs at night that triggered this message. We assume that not enough OS memory was free for this
process? Any recommendations greatly appreciated. Thanks!
SGA
Total System Global Area 734003200 bytes
Fixed Size 1305424 bytes
Variable Size 213910704 bytes
Database Buffers 511705088 bytes
Redo Buffers 7081984 bytesExcerpt of alert log:
Wed Oct 19 01:00:51 W. Europe Daylight Time 2011
Process startup failed, error stack:
Wed Oct 19 01:00:51 W. Europe Daylight Time 2011
Errors in file h:\oracle\admin\trwprod\bdump\trwprod_psp0_3392.trc:
ORA-27300: OS system dependent operation:CreateThread failed with status: 8
ORA-27301: OS failure message: Not enough storage is available to process this command.
ORA-27302: failure occurred at: ssthrddcr
Wed Oct 19 01:00:52 W. Europe Daylight Time 2011
Process m001 died, see its trace file
Wed Oct 19 01:00:52 W. Europe Daylight Time 2011
ksvcreate: Process(m001) creation failed
Wed Oct 19 02:00:07 W. Europe Daylight Time 2011
Errors in file h:\oracle\admin\trwprod\bdump\trwprod_j007_1320.trc:
ORA-12012: Fehler beim autom Ausführen von Job 21
ORA-04030: Zu wenig Prozessspeicher für Versuch 123404 Bytes zuzuweisen (QERHJ hash-joi,kllcqas:kllsltba)
ORA-06512: in "WKSYS.WK_JOB", Zeile 443
ORA-04030: Zu wenig Prozessspeicher für Versuch 123404 Bytes zuzuweisen (QERHJ hash-joi,kllcqas:kllsltba)
ORA-06510: PL/SQL: Unbehandelte benutzerdefinierte Exception
ORA-06512: in "WKSYS.WK_JOB", Zeile 766
ORA-04030: Zu wenig Prozessspeicher für Versuch 123404 Bytes zuzuweisen (QERHJ hash-joi,kllcqas:kllsltba)
ORA-06512: in Zeile 1Excerpt of trace log
Wed Oct 19 02:37:09 W. Europe Daylight Time 2011
Process m000 died, see its trace file
Wed Oct 19 02:37:09 W. Europe Daylight Time 2011
ksvcreate: Process(m000) creation failed
Wed Oct 19 02:51:03 W. Europe Daylight Time 2011
Thread 1 advanced to log sequence 3210 (LGWR switch)
Current log# 3 seq# 3210 mem# 0: K:\ORACLE\ORADATA\TRWPROD\REDO03A.LOG
Current log# 3 seq# 3210 mem# 1: L:\ORACLE\ORADATA\TRWPROD\REDO03B.LOG
Wed Oct 19 07:37:00 W. Europe Daylight Time 2011
Thread 1 advanced to log sequence 3211 (LGWR switch)
Current log# 1 seq# 3211 mem# 0: K:\ORACLE\ORADATA\TRWPROD\REDO01A.LOG
Current log# 1 seq# 3211 mem# 1: L:\ORACLE\ORADATA\TRWPROD\REDO01B.LOG
======================================================
PRIVATE MEMORY USAGE FOR LARGEST PROCESS
Begin memory detail for largest PGA user, pid 37
============================
Begin PGA memory detail dump
============================
Dumping only 0 of 1 process heap scans requested
============================
End PGA memory detail dump
============================
End of memory detail for pid 37
(if there was no memory detail for pid 37, it probably timed out and
may appear in the trace file for pid 37)
Died during process startup with error 4030 (seq=155312)
OPIRIP: Uncaught error 4030. Error stack:
ORA-04030: out of process memory when trying to allocate 1636 bytes (pga heap,ldm context)I too believe that this is a memory issue, but need to get confirmed.
Can you tell us what is the bit-version (32 or 64 bit?) of windows?
Generally when we get ora-04030 error, we have some recommendations. see this link
http://www.dba-oracle.com/t_ora_04030_out_process_memory.htm
I also faced same problem and I archived that in my blog
http://pavandba.com/2009/10/30/handling-ora-04030-ora-600723-on-32-bit-windows-machine/ -
ORA-04030 out of process memory in databsae
Hi Friends,
I have some problem related to oracle memory when i am running some reports at the application side Oracle generate the Error ORA-04030 out of process memory . and when i want to log on the oracle it's give me TNS error memory required for process the Dedicated connection not available .
I am using oracle 9i data base
Installed on 2 GB IBM server
and for memory setting for Oracle is
Shared Pool - 800MB
Buffer Cache - 200MB
Large Pool - 64 MB
JAVA Pool - 40MB
TOTAL SGA = 1104.935 MB
SGA MAX SIZE = 1241.072
Aggregaet PGA targate = 100MB
Current PGA allocation = 19610KB
MAX PGA alloctaed - 77485KB
and there is more than 85 active and inactive session in memory.
Can anybody help me it's Urgent.
Praveen
Message was edited by: PRAVEEN
praveen soniThis error means:
ORA-04030: out of process memory when trying to allocate string bytes (string,string)
Cause: Operating system process private memory has been exhausted
So you should check the amount of memory in your system and verify you have enough swap.
Installed on 2 MB IBM server2 Mb or 2Gb ?
~ Madrid -
Why do I keep getting the notice "your machine has run out of application memory"?
I have a 15" Macbook Pro Retina Display with a 2.3 GHz Intel Core i7; 8 GB 1600 MHz DDR3. OS X version 10.9.2.
I get this warning when I have a lot of programs running. I never had this issue before.Well Carolyn
I feel your answer is a bit glib, since there are numerous post about this problem with Maverick. I too am having the problem and run very minor applications
Word, Powerpoint, Safari, AudioNotes. Nothing which uses a ton of memory, and have gotten this message repeatedly lately.
I have a Macbook Pro Retina with 2.6 GHz inter i7, and 16GB 1600 MHz DDR3 memory running OS X 10.9.2.
I am not a techie and would love a simple fix, which doesn't entail me shutting down my computer when it gets stupid. As above I have not had this problem before either. -
16,777,216.00 TB Private Memory
Hello.
This isn't really a problem more of a "huh?" type of thing.
When I open Activity Monitor, for about 5 seconds the WindowServer process says it is utilizing 16,777,216.00 TB of Private Memory. Just wanted to know if this happens to others and if it's a known "bug". It shows its normal amount after a bit.
A screenshot: http://img225.imageshack.us/img225/4949/picture105di1.png
nullHi,
I have the same problem with an Intel Mac Pro with 4GB RAM 10.4.11. It is making trouble shooting a bit difficult as it is showing on an application which is saying it is running out of memory.
Any ideas?
Cheers. -
Startup disk is running out of application memory?
My new 27" iMac frequently brings up this warning "Startup disk is running out of application memory" It just about locks up the computer as RAM is completely spent. I always need to restart manually. I assume this is a memory leak/hog problem. The activity monitor shows no applications that show any overusage. I do find that the Page Outs = 26 GB and Swap Used is 59GB. Is this causing the problem? How can I locate the problem and fix it? Thanks!
This is a reply to another post I have seen. This is the report from the Terminal.
Last login: Sun Feb 26 16:53:54 on ttys000
Jeremys-iMac:~ JeremyFullam$ kextstat -kl | awk '!/com\.apple/ {print $6 $7}'
Jeremys-iMac:~ JeremyFullam$ sudo launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}'
com.openssh.sshd
org.x.privileged_startx
org.postfix.master
org.ntp.ntpd
org.cups.cupsd
org.apache.httpd
com.vix.cron
com.sharpcast.xfsmond
com.microsoft.office.licensing.helper
com.logmein.logmeinserver
com.google.keystone.daemon
com.backblaze.bzserv
Jeremys-iMac:~ JeremyFullam$ launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}'
org.x.startx
org.openbsd.ssh-agent
com.logmein.logmeinguiagent
com.logmein.logmeingui
com.google.keystone.root.agent
ws.agile.1PasswordAgent
com.google.GoogleContactSyncAgent
Jeremys-iMac:~ JeremyFullam$ ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Sta}* L*/Fonts 2> /dev/null
/Library/Components:
/Library/Extensions:
/Library/Frameworks:
AEProfiling.framework
AERegistration.framework
Adobe AIR.framework
AudioMixEngine.framework
NyxAudioAnalysis.framework
PluginManager.framework
iLifeFaceRecognition.framework
iLifeKit.framework
iLifePageLayout.framework
iLifeSQLAccess.framework
iLifeSlideshow.framework
/Library/Input Methods:
/Library/Internet Plug-Ins:
Google Earth Web Plug-in.plugin
JavaAppletPlugin.plugin
LogMeIn.plugin
LogMeInSafari32.plugin
LogMeInSafari64.plugin
Quartz Composer.webplugin
QuickTime Plugin.plugin
SharePointBrowserPlugin.plugin
SharePointWebKitPlugin.webplugin
Silverlight.plugin
googletalkbrowserplugin.plugin
iPhotoPhotocast.plugin
npgtpo3dautoplugin.plugin
nsIQTScriptablePlugin.xpt
/Library/Keyboard Layouts:
/Library/LaunchAgents:
com.google.keystone.agent.plist
com.logmein.logmeingui.plist
com.logmein.logmeinguiagent.plist
/Library/LaunchDaemons:
com.apple.remotepairtool.plist
com.backblaze.bzserv.plist
com.google.keystone.daemon.plist
com.logmein.logmeinserver.plist
com.microsoft.office.licensing.helper.plist
com.sharpcast.xfsmond.plist
/Library/PreferencePanes:
.DS_Store
BackblazeBackup.prefPane
TiVoDesktop.prefPane
/Library/PrivilegedHelperTools:
com.microsoft.office.licensing.helper
/Library/QuickLook:
iWork.qlgenerator
/Library/QuickTime:
AppleIntermediateCodec.component
AppleMPEG2Codec.component
Google Camera Adapter 0.component
Google Camera Adapter 1.component
/Library/ScriptingAdditions:
/Library/StartupItems:
TiVoDesktop
/etc/mach_init.d:
/etc/mach_init_per_login_session.d:
/etc/mach_init_per_user.d:
Library/Address Book Plug-Ins:
Library/Fonts:
Arial
Brush Script
Times New Roman
Verdana
Wingdings
Wingdings 2
Wingdings 3
Library/Input Methods:
.localized
Library/Internet Plug-Ins:
SlingPlayer.plugin
Library/Keyboard Layouts:
Library/LaunchAgents:
com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.88A6F109-CE8C-4DAA-A0AE-253 B62027996.plist
com.google.GoogleContactSyncAgent.plist
ws.agile.1PasswordAgent.plist
Library/PreferencePanes:
MusicManager.prefPane
Library/ScriptingAdditions:
Library/Services:
Close Chrome.workflow
Close all.workflow
Thumbnailer.workflow
Thumbnails.workflow
ToastIt.service
Jeremys-iMac:~ JeremyFullam$ osascript -e 'tell application "System Events" to get the name of every login item'
iTunesHelper, SugarSync Manager, iTunes, Dropbox
Jeremys-iMac:~ JeremyFullam$ -
ORA 04030 Out of process memory error
Dear experts,
I know there are multiple discussions around this error and I have been reading through most of them in the past one week or so, but looks like we are running out of options or are missing the color altogether. Ok, we are getting ORA-04030 - out of process memory while allocating....while one of our batch process runs in the night. It simply tries to insert/update to a table. Our installation is 11.2.0.1.0 with no RAC configuration and on 64-bit AIX having 6 cores, 12 CPUs and 16 GB memory.
We have checked the Workarea_Size_Policy is set to be as Auto so Oracle decides how much memory to allocate to PGA automatically on run-time based on the demand. And based on the AWR report it doesnt look like we are anywhere near the country having a PGA-deficit!! I am attaching the AWR report in a word document here for your reference.
Also attached below are the configurations and the ulimit values.
IKBTRN1> show parameter workarea;
NAME TYPE VALUE
workarea_size_policy string AUTO
oraipeikbtrn1:/home/oracle-> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user) unlimited
Now, nothing seems to have contributed to the out of process memory issue from Oracle standpoint. I would be happy to be proved wrong here, if I am wrong.
So, whats going wrong here? A possible memory leak which we cannot zero down to, a OS memory limit or something else?
Seeking expert's advise on this, and also sincerely appreciate your time in looking at this.
Thanks.
P.S - I am pasting the whole AWR report since there is no 'upload file' option here that I can see.
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst num Startup Time Release RAC
IKBTRN1 54659199 IKBTRN1 1 06-Jun-11 02:06 11.2.0.1.0 NO
Host Name Platform CPUs Cores Sockets Memory (GB)
oraipeikbtrn1.******.com AIX-Based Systems (64-bit) 12 6 16.00
Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 5952 26-Aug-11 03:00:48 34 2.0
End Snap: 5953 26-Aug-11 04:00:52 32 1.9
Elapsed: 60.07 (mins)
DB Time: 1.93 (mins)
Report Summary
Cache Sizes
Begin End
Buffer Cache: 1,056M 704M Std Block Size: 8K
Shared Pool Size: 3,456M 3,456M Log Buffer: 7,184K
Load Profile
Load Profile
Per Second Per Transaction Per Exec Per Call
DB Time(s): 0.0 2.0 0.02 0.02
DB CPU(s): 0.0 0.5 0.00 0.00
Redo size: 556.1 34,554.8
Logical reads: 151.4 9,407.6
Block changes: 1.9 119.8
Physical reads: 14.2 882.6
Physical writes: 9.5 590.4
User calls: 1.8 112.8
Parses: 1.5 93.7
Hard parses: 0.1 8.9
W/A MB processed: -0.1 -6.9
Logons: 0.0 1.6
Executes: 1.9 115.4
Rollbacks: 0.0 0.0
Transactions: 0.0
Instance Efficiency Percentages (Target 100%)
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 96.63 In-memory Sort %: 99.97
Library Hit %: 95.68 Soft Parse %: 90.49
Execute to Parse %: 18.74 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 57.23 % Non-Parse CPU: 86.28
Shared Pool Statistics
Begin End
Memory Usage %: 85.72 85.76
% SQL with executions>1: 93.91 96.66
% Memory for SQL w/exec>1: 89.07 87.04
Top 5 Timed Foreground Events
Event Waits Time(s) Avg wait (ms) % DB time Wait Class
DB CPU 29 24.66
db file scattered read 3,456 17 5 14.92 User I/O
db file sequential read 4,304 17 4 14.77 User I/O
direct path read temp 764 17 22 14.31 User I/O
direct path write temp 259 5 21 4.70 User I/O
Host CPU (CPUs: 12 Cores: 6 Sockets: )
Load Average Begin Load Average End %User %System %WIO %Idle
1.39 1.37 0.2 0.2 0.2 99.6
Instance CPU
%Total CPU %Busy CPU %DB time waiting for CPU (Resource Manager)
0.1 20.5 0.0
Memory Statistics
Begin End
Host Mem (MB): 16,384.0 16,384.0
SGA use (MB): 4,704.0 4,352.0
PGA use (MB): 196.1 188.4
% Host Mem used for SGA+PGA: 29.91 27.71
Main Report
• Report Summary
• Wait Events Statistics
• SQL Statistics
• Instance Activity Statistics
• IO Stats
• Buffer Pool Statistics
• Advisory Statistics
• Wait Statistics
• Undo Statistics
• Latch Statistics
• Segment Statistics
• Dictionary Cache Statistics
• Library Cache Statistics
• Memory Statistics
• Streams Statistics
• Resource Limit Statistics
• Shared Server Statistics
• init.ora Parameters
Back to Top
Wait Events Statistics
• Time Model Statistics
• Operating System Statistics
• Operating System Statistics - Detail
• Foreground Wait Class
• Foreground Wait Events
• Background Wait Events
• Wait Event Histogram
• Wait Event Histogram Detail (64 msec to 2 sec)
• Wait Event Histogram Detail (4 sec to 2 min)
• Wait Event Histogram Detail (4 min to 1 hr)
• Service Statistics
• Service Wait Class Stats
Back to Top
Time Model Statistics
• Total time in database user-calls (DB Time): 115.9s
• Statistics including the word "background" measure background process time, and so do not contribute to the DB time statistic
• Ordered by % or DB time desc, Statistic name
Statistic Name Time (s) % of DB Time
sql execute elapsed time 101.69 87.75
DB CPU 28.58 24.66
parse time elapsed 10.14 8.75
hard parse elapsed time 9.92 8.56
failed parse elapsed time 4.92 4.25
hard parse (sharing criteria) elapsed time 4.27 3.68
connection management call elapsed time 0.42 0.36
PL/SQL compilation elapsed time 0.34 0.30
PL/SQL execution elapsed time 0.18 0.15
sequence load elapsed time 0.00 0.00
repeated bind elapsed time 0.00 0.00
DB time 115.88
background elapsed time 86.01
background cpu time 5.06
Back to Wait Events Statistics
Back to Top
Operating System Statistics
• *TIME statistic values are diffed. All others display actual values. End Value is displayed if different
• ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
Statistic Value End Value
NUM_LCPUS 0
NUM_VCPUS 0
AVG_BUSY_TIME 1,260
AVG_IDLE_TIME 360,705
AVG_IOWAIT_TIME 534
AVG_SYS_TIME 483
AVG_USER_TIME 679
BUSY_TIME 16,405
IDLE_TIME 4,329,811
IOWAIT_TIME 7,284
SYS_TIME 7,092
USER_TIME 9,313
LOAD 1 1
OS_CPU_WAIT_TIME 503,900
PHYSICAL_MEMORY_BYTES 17,179,869,184
NUM_CPUS 12
NUM_CPU_CORES 6
GLOBAL_RECEIVE_SIZE_MAX 1,310,720
GLOBAL_SEND_SIZE_MAX 1,310,720
TCP_RECEIVE_SIZE_DEFAULT 16,384
TCP_RECEIVE_SIZE_MAX 9,223,372,036,854,775,807
TCP_RECEIVE_SIZE_MIN 4,096
TCP_SEND_SIZE_DEFAULT 16,384
TCP_SEND_SIZE_MAX 9,223,372,036,854,775,807
TCP_SEND_SIZE_MIN 4,096
Back to Wait Events Statistics
Back to Top
Operating System Statistics - Detail
Snap Time Load %busy %user %sys %idle %iowait
26-Aug 03:00:48 1.39
26-Aug 04:00:52 1.37 0.38 0.21 0.16 99.62 0.17
Back to Wait Events Statistics
Back to Top
Foreground Wait Class
• s - second, ms - millisecond - 1000th of a second
• ordered by wait time desc, waits desc
• %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
• Captured Time accounts for 78.2% of Total DB time 115.88 (s)
• Total FG Wait Time: 62.08 (s) DB CPU time: 28.58 (s)
Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) %DB time
User I/O 8,949 0 56 6 48.74
DB CPU 29 24.66
System I/O 1,916 0 3 1 2.18
Other 506 88 1 2 0.92
Configuration 2 50 1 500 0.86
Commit 37 0 1 18 0.56
Application 20 0 0 17 0.29
Network 4,792 0 0 0 0.01
Concurrency 1 0 0 0 0.00
Back to Wait Events Statistics
Back to Top
Foreground Wait Events
• s - second, ms - millisecond - 1000th of a second
• Only events with Total Wait Time (s) >= .001 are shown
• ordered by wait time desc, waits desc (idle events last)
• %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn % DB time
db file scattered read 3,456 0 17 5 59.59 14.92
db file sequential read 4,304 0 17 4 74.21 14.77
direct path read temp 764 0 17 22 13.17 14.31
direct path write temp 259 0 5 21 4.47 4.70
control file sequential read 1,916 0 3 1 33.03 2.18
ADR block file read 38 0 1 28 0.66 0.92
log buffer space 2 50 1 500 0.03 0.86
log file sync 37 0 1 18 0.64 0.56
enq: RO - fast object reuse 14 0 0 24 0.24 0.29
local write wait 44 0 0 1 0.76 0.03
SQL*Net message to client 4,772 0 0 0 82.28 0.01
Disk file operations I/O 110 0 0 0 1.90 0.00
ADR block file write 7 0 0 0 0.12 0.00
SQL*Net message from client 4,773 0 15,396 3226 82.29
Streams AQ: waiting for messages in the queue 720 100 3,600 5000 12.41
Back to Wait Events Statistics
Back to Top
Background Wait Events
• ordered by wait time desc, waits desc (idle events last)
• Only events with Total Wait Time (s) >= .001 are shown
• %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn % bg time
control file sequential read 4,950 0 35 7 85.34 40.74
control file parallel write 1,262 0 31 25 21.76 36.46
log file parallel write 383 0 4 10 6.60 4.37
db file parallel write 627 0 2 3 10.81 2.36
change tracking file synchronous read 56 0 2 34 0.97 2.21
os thread startup 17 0 1 88 0.29 1.74
ADR block file read 135 0 1 7 2.33 1.04
change tracking file synchronous write 56 0 1 15 0.97 0.98
SGA: allocation forcing component growth 8 100 1 100 0.14 0.93
db file sequential read 112 0 1 6 1.93 0.75
process diagnostic dump 94 0 0 1 1.62 0.09
ADR block file write 92 0 0 1 1.59 0.07
LGWR wait for redo copy 11 0 0 1 0.19 0.01
log file sync 2 0 0 3 0.03 0.01
ADR file lock 92 22 0 0 1.59 0.01
Parameter File I/O 24 0 0 0 0.41 0.01
direct path write 6 0 0 1 0.10 0.00
Disk file operations I/O 54 0 0 0 0.93 0.00
rdbms ipc message 17,637 97 61,836 3506 304.09
Streams AQ: waiting for time management or cleanup tasks 5 60 11,053 2210602 0.09
DIAG idle wait 7,203 100 7,203 1000 124.19
PX Idle Wait 1,802 100 3,604 2000 31.07
pmon timer 1,212 99 3,603 2973 20.90
Space Manager: slave idle wait 726 99 3,603 4963 12.52
smon timer 12 100 3,600 300004 0.21
Streams AQ: qmn slave idle wait 128 0 3,583 27993 2.21
Streams AQ: qmn coordinator idle wait 256 50 3,583 13996 4.41
SQL*Net message from client 293 0 2 5 5.05
Back to Wait Events Statistics
Back to Top
Wait Event Histogram
• Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
• % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
• % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
• Ordered by Event (idle events last)
% of Waits
Event Total Waits <1ms <2ms <4ms <8ms <16ms <32ms <=1s >1s
ADR block file read 173 80.3 5.2 2.3 5.8 1.7 4.6
ADR block file write 99 96.0 3.0 1.0
ADR file lock 102 100.0
Disk file operations I/O 165 100.0
LGWR wait for redo copy 11 90.9 9.1
Parameter File I/O 24 100.0
SGA: allocation forcing component growth 8 100.0
SQL*Net break/reset to client 6 100.0
SQL*Net message to client 4992 100.0
SQL*Net more data from client 20 100.0
asynch descriptor resize 541 100.0
change tracking file synchronous read 56 83.9 1.8 14.3
change tracking file synchronous write 56 80.4 7.1 1.8 10.7
control file parallel write 1262 80.3 1.7 .6 .6 .8 1.3 14.7
control file sequential read 6866 94.1 .9 .7 .7 .3 .4 2.9
db file parallel write 628 94.3 2.1 1.0 .8 .3 .3 1.3
db file scattered read 3457 72.6 7.2 5.4 6.9 5.7 .5 1.6
db file sequential read 4525 78.7 2.7 1.8 9.6 5.3 .4 1.5
direct path read temp 764 40.2 18.6 9.4 6.2 11.0 5.8 8.9
direct path sync 1 100.0
direct path write 6 83.3 16.7
direct path write temp 259 .4 1.2 88.8 .4 9.3
enq: RO - fast object reuse 14 42.9 42.9 7.1 7.1
latch free 1 100.0
latch: cache buffers lru chain 2 100.0
latch: checkpoint queue latch 2 100.0
latch: messages 2 100.0
latch: object queue header operation 2 100.0
latch: redo allocation 1 100.0
latch: row cache objects 1 100.0
local write wait 44 100.0
log buffer space 2 50.0 50.0
log file parallel write 383 92.4 .8 1.0 5.7
log file sync 39 82.1 2.6 2.6 12.8
os thread startup 17 100.0
process diagnostic dump 94 34.0 63.8 2.1
reliable message 7 100.0
utl_file I/O 12 100.0
DIAG idle wait 7204 100.0
PX Idle Wait 1802 100.0
SQL*Net message from client 5067 87.1 6.6 1.0 .5 .5 .1 .5 3.7
Space Manager: slave idle wait 726 .6 99.4
Streams AQ: qmn coordinator idle wait 256 49.2 .8 50.0
Streams AQ: qmn slave idle wait 128 100.0
Streams AQ: waiting for messages in the queue 721 100.0
Streams AQ: waiting for time management or cleanup tasks 5 40.0 20.0 40.0
class slave wait 17 100.0
pmon timer 1212 .9 99.1
rdbms ipc message 17.6K 1.8 .4 .2 .2 .1 .1 21.0 76.2
smon timer 12 100.0
Back to Wait Events Statistics
Back to Top
I couldnt add the rest of the report here since it is telling me I have exceeded 30000 characters. If you want to see the full report, please email me at [email protected]Unless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
What does your V$PGASTAT say? -
ORA-04030: out of process memory when using Java Stored Procedures
Hello,
I have a problem using Java Stored Procedures in Oracle 10g.
My Java application performs http posts to a webservice and the response is parsed in order to populate some DB tables.
There is a scheduled job which calls the Java Stored Procedure every x minutes.
No matter of the 'x minutes' values - after about 160 - 200 calls I get this error:
ORA-04030: out of process memory when trying to allocate 1048620 bytes (joxp heap,f:OldSpace)
ORA-04030: out of process memory when trying to allocate 2097196 bytes (joxp heap,f:OldSpace)
The job stops just while is posting the http request. The weird thing is that almost each time the first http post request I get this error:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
and the second try works fine.
So, The out of process memory occured each time just before getting such an error, and I suspect to be a connection between these errors.
Tech details:
1. OS: WinXP
2. Oracle 10.1.0.2.0
3. To perform http post I use HttpClient 3.1 from Apache.
4. I checked the http connection to be closed each time, and this is done.
5. I checked the oracle statement and connection to be closed each time and this is done
6. The JVM error (logged in .trc files of Oracle) is:
java.lang.OutOfMemoryError
at java.lang.Thread.start(Native Method)
at sun.security.provider.SeedGenerator$ThreadedSeedGenerator.run(SeedGenerator.java:297)
DB Settings details:
Starting up ORACLE RDBMS Version: 10.1.0.2.0.
System parameters with non-default values:
processes = 200
sessions = 225
shared_pool_size = 159383552
large_pool_size = 8388608
java_pool_size = 104857600
nls_language = AMERICAN
control_files = C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL01.CTL, C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL02.CTL, C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL03.CTL
db_block_size = 8192
db_cache_size = 29360128
compatible = 10.1.0
fal_client = XXXXXX
fal_server = XXXXXXs
log_buffer = 524288
log_checkpoint_interval = 100000
db_files = 70
db_file_multiblock_read_count= 32
db_recovery_file_dest = C:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = undotbs_01
undo_retention = 14400
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=XXXXXXXDB)
remote_dependencies_mode = SIGNATURE
job_queue_processes = 4
parallel_max_servers = 5
background_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\BDUMP
user_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\UDUMP
max_dump_file_size = 10240
core_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\CDUMP
sort_area_size = 1048576
sort_area_retained_size = 1048576
db_name = XXXXXX
open_cursors = 500
optimizer_mode = FIRST_ROWS
pga_aggregate_target = 25165824
Any help would be appreciated. Thanks.
Can be a problem with JVM threading under Oracle ?The server prcess failed to allocate more memory for large objects ( in Oldspace).
If you Google ORA-04030, you will see several recommendations to work around this.
The Java VM in the database already has HttpClient, i don't know why you are loading the Apache HttpClient but this might not be the surce of the problem.
Kuassi http://db360.blogspot.com -
Maverick and Your System message
I've updated my Macbook Pro and my iMac with Maverick, updating the various apps (Pages, Aperture, iPhoto, Numbers & iMovie, too) in the process.
On my Macbook, everything functions perfectly. On my iMac, I get the Your System has Run out of Application Memory message. But it's not Calendar, it's Mail that not only won't open, but when it does now, it takes the entire system out with it.
I open Safari, and it works. I open Firefox, and it works and Safari still works. I open Calendar and it works, Safari and Firefox continue to work. I open Reminders, and everything still works.
I open Aperture, and it opens Finder instead, showing the 3.5 update that was installed two days ago (and Aperture has functioned), but doesn't seem to update the app; after about 20 seconds the update disappears and I can now open Aperture and it shows I'm now opening the updated Aperture, which it didn't show before.
I click on Mail, and the cursor spins for ten minutes. The mail window finally opens, but the cursor spins and does not connect to upload new mail, and I finally Force Quit Mail. Since the Maverick update, even though Mail was not updated (and maybe because Mail was not updated), I have been able to receive emails twice, and then the program crashed.
Besides the Aperture app, Pages didn't fully update on the iMac, and I had to remove the old Pages icon from the dock after the new program loaded up from Applications.
Any ideas?Maverick and Your System message
I've updated my Macbook Pro and my iMac with Maverick, updating the various apps (Pages, Aperture, iPhoto, Numbers & iMovie, too) in the process.
On my Macbook, everything functions perfectly. On my iMac, I get the Your System has Run out of Application Memory message. But it's not Calendar, it's Mail that not only won't open, but when it does now, it takes the entire system out with it.
I open Safari, and it works. I open Firefox, and it works and Safari still works. I open Calendar and it works, Safari and Firefox continue to work. I open Reminders, and everything still works.
I open Aperture, and it opens Finder instead, showing the 3.5 update that was installed two days ago (and Aperture has functioned), but doesn't seem to update the app; after about 20 seconds the update disappears and I can now open Aperture and it shows I'm now opening the updated Aperture, which it didn't show before.
I click on Mail, and the cursor spins for ten minutes. The mail window finally opens, but the cursor spins and does not connect to upload new mail, and I finally Force Quit Mail. Since the Maverick update, even though Mail was not updated (and maybe because Mail was not updated), I have been able to receive emails twice, and then the program crashed.
Besides the Aperture app, Pages didn't fully update on the iMac, and I had to remove the old Pages icon from the dock after the new program loaded up from Applications.
Any ideas? -
Mavericks Mail Kernel System Has Run Out of Application Memory
I have a new Mavericks late 2013 MBP. When I got the computer, I used Migration Assistant to transfer everything from my late 2008 MacBook to the new MBP. Now when I launch Mail, my memory use skyrockets and within a minute or so, I get a "run out of application memory" error message. Soon after the computer stops working until I reboot. Activity Monitor shows Memory Pressure at its redline max, Virtual Memory at about 70 GB, Swap Used 20 GB, Compressed 10 MB. The processes using all the memory are kernel-task 10 GB and mds_stores 5 GB. However, Spotlight is fully indexed and mds is inactive until I launch Mail.
Interestingly, it happens even if I quit Mail immediately after launching it - the Mail window doesn't even need to open; the memory ust still climbs. But it only happens with Mail; all other applications work fine. Also, it does not happen if I boot in Safe Mode or if I log in using a different user account.
I have spend many hours on the phone with the Apple tech guys, they sent log files to Apple engineering, and none can figure this out. Their solution is to work around by creating a new user and transfer files over - not an elegant solution...
I ran the diagnostic suggested by Link Davis; results copied below. I also ran the Etresoft diagnostic both before and after launching Mail. Results also copied below.
I am guessing that a 3rd party application in my user area causes Spotlight to loose control, when Mail is launched, perhaps trying to index 10,000 emails, but I really have no idea!
Any help would be GREATLY appreciated!
Link Davis Diagnostic
Step 1
nothing
Step 2
com.google.keystone.daemon
com.adobe.fpsaud
Step 3
com.google.keystone.system.agent
com.displaylink.useragent
com.zeobit.MacKeeper.Helper
com.spotify.webhelper
com.facebook.videochat.rossmeador.updater
com.adobe.ARM.ad895013aeb33ea6e968d9fdc06c0eb42c7c2a5229d98d64ad002716
com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae
com.adobe.AAM.Scheduler-1.0
Step 4
/Library/Components:
/Library/Extensions:
ATTOCelerityFC8.kext
ATTOExpressSASHBA2.kext
ATTOExpressSASRAID2.kext
ArcMSR.kext
CalDigitHDProDrv.kext
HighPointIOP.kext
HighPointRR.kext
PromiseSTEX.kext
SoftRAID.kext
/Library/Frameworks:
.DS_Store
AEProfiling.framework
AERegistration.framework
Adobe AIR.framework
AudioMixEngine.framework
DivX Toolkit.framework
HPDeviceModel.framework
HPPml.framework
HPServicesInterface.framework
HPSmartPrint.framework
HPSmartX.framework
NyxAudioAnalysis.framework
PluginManager.framework
Skype.framework
TSLicense.framework
iLifeFaceRecognition.framework
iLifeKit.framework
iLifePageLayout.framework
iLifeSQLAccess.framework
iLifeSlideshow.framework
iTunesLibrary.framework
/Library/Input Methods:
/Library/InputManagers:
Ecamm
/Library/Internet Plug-Ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
AmazonMP3DownloaderPlugin101750.plugin
DRM Plugin.bundle
Default Browser.plugin
DirectorShockwave.plugin
Disabled Plug-Ins
DivXBrowserPlugin.plugin
Flash Player.plugin
Flip4Mac WMV Plugin.plugin
Flip4Mac WMV Plugin.webplugin
GarminGpsControl.plugin
Google Earth Web Plug-in.plugin
JavaAppletPlugin.plugin
OfficeLiveBrowserPlugin.plugin
Quartz Composer.webplugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
Silverlight.plugin
flashplayer.xpt
googletalkbrowserplugin.plugin
iPhotoPhotocast.plugin
npdivx.xpt
npgtpo3dautoplugin.plugin
nsIQTScriptablePlugin.xpt
o1dbrowserplugin.plugin
/Library/Keyboard Layouts:
/Library/LaunchAgents:
com.adobe.AAM.Updater-1.0.plist
com.displaylink.useragent.plist
com.google.keystone.agent.plist
/Library/LaunchDaemons:
com.adobe.fpsaud.plist
com.displaylink.usbnivolistener.plist
com.google.keystone.daemon.plist
/Library/PreferencePanes:
DivX.prefPane
Flash Player.prefPane
Flip4Mac WMV.prefPane
/Library/PrivilegedHelperTools:
/Library/QuickLook:
GBQLGenerator.qlgenerator
iBooksAuthor.qlgenerator
iWork.qlgenerator
/Library/QuickTime:
.DS_Store
AppleIntermediateCodec.component
AppleMPEG2Codec.component
macam.app
macam.component
/Library/ScriptingAdditions:
/Library/Spotlight:
.DS_Store
GBSpotlightImporter.mdimporter
LogicPro.mdimporter
Microsoft Office.mdimporter
iBooksAuthor.mdimporter
iWork.mdimporter
/Library/StartupItems:
HP IO
/etc/mach_init.d:
/etc/mach_init_per_login_session.d:
/etc/mach_init_per_user.d:
Library/Address Book Plug-Ins:
SkypeABDialer.bundle
SkypeABSMS.bundle
Library/Fonts:
Library/Input Methods:
.localized
Library/Internet Plug-Ins:
CitrixOnlineWebDeploymentPlugin.plugin
FacebookVideoCalling.bundle
Picasa.plugin
WebEx.plugin
WebEx64.plugin
Library/Keyboard Layouts:
Library/LaunchAgents:
com.adobe.AAM.Updater-1.0.plist
com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
com.adobe.ARM.ad895013aeb33ea6e968d9fdc06c0eb42c7c2a5229d98d64ad002716.plist
com.facebook.videochat.rossmeador.plist
com.spotify.webhelper.plist
com.zeobit.MacKeeper.Helper.plist
Library/PreferencePanes:
Library/QuickTime:
Google Camera Adapter 0.component
Google Camera Adapter 1.component
Library/Services:
.localized
Step 5
Nothing
Etresoft Before Launching Mail
Hardware Information:
MacBook Pro (Retina, 13-inch, Late 2013)
MacBook Pro - model: MacBookPro11,1
1 2.8 GHz Intel Core i7 CPU: 2 cores
16 GB RAM
Video Information:
Intel Iris - VRAM: 1024 MB
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0
AirPlay: Version: 1.9
AppleAVBAudio: Version: 2.0.0
iSightAudio: Version: 7.7.3
Startup Items:
HP IO - Path: /Library/StartupItems/HP IO
System Software:
OS X 10.9 (13A2093) - Uptime: 0 days 0:6:5
Disk Information:
APPLE SSD SM1024F disk0 : (1 TB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) /: 999.7 GB (761.42 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
Apple Internal Memory Card Reader
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
FireWire Information:
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Apple Inc. Thunderbolt to Gigabit Ethernet Adapter
Kernel Extensions:
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
[loaded] com.adobe.fpsaud.plist
[not loaded] com.displaylink.usbnivolistener.plist
[loaded] com.google.keystone.daemon.plist
Launch Agents:
[not loaded] com.adobe.AAM.Updater-1.0.plist
[failed] com.displaylink.useragent.plist
[loaded] com.google.keystone.agent.plist
User Launch Agents:
[loaded] com.adobe.AAM.Updater-1.0.plist
[loaded] com.adobe.ARM.[...].plist
[loaded] com.adobe.ARM.[...].plist
[loaded] com.facebook.videochat.[redacted].plist
[loaded] com.spotify.webhelper.plist
[loaded] com.zeobit.MacKeeper.Helper.plist
User Login Items:
None
3rd Party Preference Panes:
DivX
Flash Player
Flip4Mac WMV
Internet Plug-ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
AmazonMP3DownloaderPlugin101750.plugin
Default Browser.plugin
DirectorShockwave.plugin
DivXBrowserPlugin.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
Flip4Mac WMV Plugin.plugin
GarminGpsControl.plugin
Google Earth Web Plug-in.plugin
googletalkbrowserplugin.plugin
iPhotoPhotocast.plugin
JavaAppletPlugin.plugin
npgtpo3dautoplugin.plugin
o1dbrowserplugin.plugin
OfficeLiveBrowserPlugin.plugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
Silverlight.plugin
User Internet Plug-ins:
CitrixOnlineWebDeploymentPlugin.plugin
Picasa.plugin
WebEx.plugin
WebEx64.plugin
Bad Fonts:
None
Time Machine:
Auto backup: NO
Time Machine not configured!
Top Processes by CPU:
2% WindowServer
1% EtreCheck
0% coreservicesd
0% Dock
0% CoreServicesUIAgent
0% imagent
Top Processes by Memory:
344 MB mds_stores
213 MB Safari
115 MB Dock
82 MB mdworker
66 MB mds
33 MB MacKeeper Helper
33 MB PluginProcess
33 MB WindowServer
16 MB com.apple.dock.extra
16 MB storeagent
Virtual Memory Statistics:
12.72 GB Free RAM
1.77 GB Active RAM
176 MB Inactive RAM
1.33 GB Wired RAM
660 MB Page-ins
0 B Page-outs
Immediately After Launching Mail
Hardware Information:
MacBook Pro (Retina, 13-inch, Late 2013)
MacBook Pro - model: MacBookPro11,1
1 2.8 GHz Intel Core i7 CPU: 2 cores
16 GB RAM
Video Information:
Intel Iris - VRAM: 1024 MB
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0
AirPlay: Version: 1.9
AppleAVBAudio: Version: 2.0.0
iSightAudio: Version: 7.7.3
Startup Items:
HP IO - Path: /Library/StartupItems/HP IO
System Software:
OS X 10.9 (13A2093) - Uptime: 0 days 0:8:39
Disk Information:
APPLE SSD SM1024F disk0 : (1 TB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) /: 999.7 GB (761.39 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
Apple Internal Memory Card Reader
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
FireWire Information:
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Apple Inc. Thunderbolt to Gigabit Ethernet Adapter
Kernel Extensions:
Problem System Launch Daemons:
Problem System Launch Agents:
[failed] com.apple.pictd.plist
Launch Daemons:
[loaded] com.adobe.fpsaud.plist
[not loaded] com.displaylink.usbnivolistener.plist
[loaded] com.google.keystone.daemon.plist
Launch Agents:
[not loaded] com.adobe.AAM.Updater-1.0.plist
[failed] com.displaylink.useragent.plist
[loaded] com.google.keystone.agent.plist
User Launch Agents:
[loaded] com.adobe.AAM.Updater-1.0.plist
[loaded] com.adobe.ARM.[...].plist
[loaded] com.adobe.ARM.[...].plist
[loaded] com.facebook.videochat.[redacted].plist
[loaded] com.spotify.webhelper.plist
[loaded] com.zeobit.MacKeeper.Helper.plist
User Login Items:
None
3rd Party Preference Panes:
DivX
Flash Player
Flip4Mac WMV
Internet Plug-ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
AmazonMP3DownloaderPlugin101750.plugin
Default Browser.plugin
DirectorShockwave.plugin
DivXBrowserPlugin.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
Flip4Mac WMV Plugin.plugin
GarminGpsControl.plugin
Google Earth Web Plug-in.plugin
googletalkbrowserplugin.plugin
iPhotoPhotocast.plugin
JavaAppletPlugin.plugin
npgtpo3dautoplugin.plugin
o1dbrowserplugin.plugin
OfficeLiveBrowserPlugin.plugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
Silverlight.plugin
User Internet Plug-ins:
CitrixOnlineWebDeploymentPlugin.plugin
Picasa.plugin
WebEx.plugin
WebEx64.plugin
Bad Fonts:
None
Time Machine:
Auto backup: NO
Time Machine not configured!
Top Processes by CPU:
98% mds_stores
31% Mail
3% WindowServer
1% opendirectoryd
1% EtreCheck
1% fontd
0% usernoted
0% coreservicesd
0% Dock
0% mDNSResponder
Top Processes by Memory:
9.67 GB mds_stores
262 MB Mail
213 MB Safari
115 MB Dock
98 MB mds
66 MB ReportCrash
66 MB WindowServer
49 MB Notes
49 MB SystemUIServer
33 MB MacKeeper Helper
Virtual Memory Statistics:
1.54 GB Free RAM
12.70 GB Active RAM
396 MB Inactive RAM
1.37 GB Wired RAM
954 MB Page-ins
0 B Page-outsHave you looked into Activity Monitor utility to see what system resources exist and how they are being allocated to applications, the OS X, and other background functions?
You could boot in SafeBoot (shift key held through startup) and run Disk Utility> repair disk permissions. That can tell you a few things about your hard disk drive, capacities, and it may not hurt to repair disk permissions. Restart normally when done.
Or try & boot from the Install DVD and use the version of Disk Utility in there to attempt to 'repair disk' while the HDD is unmounted. Then choose Startup manager to boot from the HDD and ignore the DVD on a restart.
Is your computer as listed, a PowerPC (pre-intel architecture)
Apple product, with a G4/G5 CPU from before 2006? If so,
a host could move the discussion from this Intel area.
Without more information, a failure of traction results from speculation.
Is your computer still running OS X 10.5.3, or is that 10.5.8+ now?
Good luck & happy computing!
edited 2x
Maybe you are looking for
-
Installed the new iTunes 11.1.4.62 and now my iPod is not recognized by iTunes
Seems to be lots of people on here with the same issue. It would be nice if Apple were to advise users of iTunes that there is an issue with iPod syncing so we all don't run around wasting our time. Looks to me like in Device Manager under portable d
-
After I make minor changes to my collections, the following message appears :Sorry, this page is currently being edited. Please try again later. It sometimes takes hours for me to be able to edit site again even if the only thing I'm changing is a de
-
How to set dynamic deadlines in ccBPM blocks?
Is there any chance to set a dynamic deadline in a ccBPM block? My business case is that I receive messages which contain a "latest execution" date/time field. I need to take this value and set it as a deadline for the block in the business process.
-
How to connect to iPad server for email
How to connect to iPad server to get email
-
How to make characteristic as Mandatory
Dear All, In Batch Management, for a class, how to make particular characteristics as a "Required Entry". In class, I can see "Required Entry" check box, but it is greyed out. How to make it as Mandatory. Because, we have maintained "LOBM_HSDAT" char