Abstract lobs increases with every call and not released

Running on 11.2.0.2
We're generating some xml web feeds for our website from relational data using SQL/XML operators. I fetch the xml into a PLSQL CLOB variable using XMLSERIALIZE, which i then return to my java application.
Our site has seen a huge increase in activity and requests to our feeds, and our DBA is reporting we're running out of temp tablespace. We've increased temp tablespace, but he also mentioned that memory consumption is steadily increasing, eventually, DB instance needs to be bounced, otherwise it crashes.
I've discovered that my block of code that builds and returns the xml is causing abstract lobs to increase, but never recedes.
Re-reading the following from 11gr2 Large Objects guide:
Temporary LOBs created in a program block as a result of a SELECT or an assignment are freed automatically at the end of the PL/SQL block or function or procedure. You must also free the temporary LOBs that were created with DBMS_LOB.CREATETEMPORARY to reclaim system resources and temporary tablespace. Do this by calling DBMS_LOB.FREETEMPORARY on the CLOB variable.
Note:
If the SQL statement returns a LOB or a LOB is an OUT parameter for a PL/SQL function or procedure, you must test if it is a temporary LOB, and if it is, then free it after you are done with it.
Also learned the following (as of 10gr2)
A new column named 'ABSTRACT_LOBS' has been added to the V$TEMPORARY_LOBS table. This column displays the number of abstract LOBs accumulated in the current session. Abstract LOBs are temporary lobs returned from queries involving XMLType columns.
so my question is, is my java application responsible for freeing up the LOB? It seems freeing the lob in my PL/SQL function has no effect, since it returns the LOB to JAVA.

Hi Odie,
Calling it with an CallableStatement... packaged function returns a clob.
My DBA is having trouble tracking down the temp lob usage in production it seems. And I question whether my little test case i did in our development environment is actually correct. I tested by calling my packaged function in a sql statement then selecting from v$temporary_lobs. that is where i was seeing abstract_lobs increasing.
Not 100% sure this is what is happening though when calling from an CallableStatement in Java.
That said, I have added some java code to check whether the CLOB returned from my function is temporary, and if so, I free it using the oracle.sql.CLOB implementation. The java code is logging that it is indeed a temporary lob and does free it. I can't confirm though whether this is impacting the temp lob count in the DB, since I believe v$temporary_lobs is based on current session.

Similar Messages

  • Ichat video works with some people and not others

    Can someone help me? I can video Ichat with some people and not others. HOwever, if the people I can video ichat with put me in a three way chat with someone I can't Icaht video with, it works. Here is the first half of the error I get when I try to call someone with whom it doesn't work:
    Date/Time: 2008-05-08 20:59:35.554 -0400
    OS Version: 10.5.2 (Build 9C7010)
    Report Version: 4
    iChat Connection Log:
    2008-05-08 20:59:21 -0400: AVChat started with ID 2203145046.
    2008-05-08 20:59:21 -0400: scddean8: State change from AVChatNoState to AVChatStateWaiting.
    2008-05-08 20:59:21 -0400: 0x1946a450: State change from AVChatNoState to AVChatStateInvited.
    2008-05-08 20:59:24 -0400: 0x1946a450: State change from AVChatStateInvited to AVChatStateConnecting.
    2008-05-08 20:59:24 -0400: scddean8: State change from AVChatStateWaiting to AVChatStateConnecting.
    2008-05-08 20:59:32 -0400: 0x1946a450: State change from AVChatStateConnecting to AVChatStateEnded.
    2008-05-08 20:59:32 -0400: 0x1946a450: Error -7 (0x1946a450 cancelled the connection.)
    2008-05-08 20:59:32 -0400: scddean8: State change from AVChatStateConnecting to AVChatStateEnded.
    2008-05-08 20:59:32 -0400: scddean8: Error -7 (0x1946a450 cancelled the connection.)
    Video Conference Error Report:
    950.806728 @SIP/SIP.c:2719 type=4 (900A002D/0)
    [SIPConnectIPPort failed]
    Video Conference Support Report:
    0.000000 @SIP/Transport.c:2362 type=1 (00000000/0)
    [SIP/2.0 200 OK
    Via: SIP/2.0/UDP 24.9.170.64:16402;branch=z9hG4bK253ca464241b86c5
    To: 0 <sip:user@lip:16402>;tag=1748993363
    From: u0 <sip:user@lip:16402>;tag=242696585
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 1 INVITE
    Contact: <sip:[email protected]:16402>
    User-Agent: Viceroy 1.3
    Content-Type: application/sdp
    Content-Length: 443
    v=0
    o=SDEAN 0 0 IN IP4 68.109.25.62
    s=skiier526121
    c=IN IP4 68.109.25.62
    b=AS:2147483647
    t=0 0
    a=hwi:17412:2:2400
    a=bandwidthDetection:YES
    a=iChatEncryption:NO
    m=audio 16402 RTP/AVP 110
    a=rtcp:16402
    a=rtpmap:110 X-AAC_LD/22050
    a=rtpID:163897054
    m=video 16402 RTP/AVP 126
    a=rtcp:16402
    a=rtpmap:126 X-H264/90000
    a=RTCP:AUDIO 16402 VIDEO 16402
    a=fmtp:126 imagesize 0 rules 20:160:120:320:240
    a=framerate:20
    a=rtpID:4247390608
    0.130320 @SIP/Transport.c:347 type=2 (00000000/0)
    [ACK sip:user@lip:16402 SIP/2.0
    Via: SIP/2.0/UDP 24.9.170.64:16402;branch=z9hG4bK758f935e51030677
    Max-Forwards: 70
    To: 0 <sip:user@lip:16402>;tag=1748993363
    From: u0 <sip:user@lip:16402>;tag=242696585
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 1 ACK
    User-Agent: Viceroy 1.3
    Content-Length: 0
    0.131540 @SIP/Transport.c:2362 type=1 (00000000/0)
    [SUBSCRIBE sip:user@lip:16402 SIP/2.0
    Via: SIP/2.0/UDP 68.109.25.62:16402;branch=z9hG4bK3c1d470911bfc4fc
    Max-Forwards: 70
    To: u0 <sip:user@lip:16402>;tag=242696585
    From: 0 <sip:user@lip:16402>;tag=1748993363
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 1 SUBSCRIBE
    Contact: <sip:[email protected]:16402>
    Event: conference
    Expires: 3600
    User-Agent: Viceroy 1.3
    Content-Length: 0
    0.258925 @SIP/Transport.c:347 type=2 (00000000/0)
    [SIP/2.0 200 OK
    Via: SIP/2.0/UDP 68.109.25.62:16402;branch=z9hG4bK3c1d470911bfc4fc
    To: u0 <sip:user@lip:16402>;tag=242696585
    From: 0 <sip:user@lip:16402>;tag=1748993363
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 1 SUBSCRIBE
    Contact: <sip:[email protected]:16402>;isfocus
    Expires: 3600
    User-Agent: Viceroy 1.3
    Content-Length: 0
    0.266139 @SIP/Transport.c:347 type=2 (00000000/0)
    [NOTIFY sip:user@lip:16402 SIP/2.0
    Via: SIP/2.0/UDP 24.9.170.64:16402;branch=z9hG4bK07f3cf2d27e5dc4f
    Max-Forwards: 70
    To: 0 <sip:user@lip:16402>;tag=1748993363
    From: u0 <sip:user@lip:16402>;tag=242696585
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 2 NOTIFY
    Contact: <sip:[email protected]:16402>;isfocus
    Event: conference
    Subscription-State: active;expires=3600
    User-Agent: Viceroy 1.3
    Content-Type: application/conference-info+xml
    Content-Length: 0
    [<c-i v="0" st="f" en="sip:user@lip:16402">
    c<h>i</h><m t="a"/><m t="v"/>
    c<h>o</h><m t="a"/><m t="v"/>
    c<h>o</h><m t="a"/><m t="v"/>
    </c-i>
    0.267647 @SIP/Transport.c:2362 type=1 (00000000/0)
    [SIP/2.0 200 OK
    Via: SIP/2.0/UDP 24.9.170.64:16402;branch=z9hG4bK07f3cf2d27e5dc4f
    To: 0 <sip:user@lip:16402>;tag=1748993363
    From: u0 <sip:user@lip:16402>;tag=242696585
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 2 NOTIFY
    User-Agent: Viceroy 1.3
    Content-Length: 0
    0.489410 @:0 type=1 (00000000/0)
    [Bandwidth Detection]
    [Received the first BWD packet from 24.9.170.64:16402]
    0.809558 @:0 type=1 (00000000/0)
    [Bandwidth Detection]
    [Avg=98115.00, NSDev=6.54%]
    1.049428 @:0 type=1 (00000000/1)
    [Bandwidth Detection]
    [Avg=1063830.90, NSDev=55.48%]
    1.396681 @:0 type=1 (00000000/2)
    [Bandwidth Detection]
    [Avg=1218589.60, NSDev=19.06%]
    1.555003 @SIP/Transport.c:347 type=2 (00000000/0)
    [MESSAGE sip:user@lip:16402 SIP/2.0
    Via: SIP/2.0/UDP 24.9.170.64:16402;branch=z9hG4bK7a3f72b46979010e
    Max-Forwards: 70
    To: 0 <sip:user@lip:16402>;tag=1748993363
    From: u0 <sip:user@lip:16402>;tag=242696585
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 3 MESSAGE
    User-Agent: Viceroy 1.3
    Content-Type: text/plain
    Content-Length: 8
    [SECUPD:0]
    1.555264 @SIP/Transport.c:2362 type=1 (00000000/0)
    [SIP/2.0 200 OK
    Via: SIP/2.0/UDP 24.9.170.64:16402;branch=z9hG4bK7a3f72b46979010e
    To: 0 <sip:user@lip:16402>;tag=1748993363
    From: u0 <sip:user@lip:16402>;tag=242696585
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 3 MESSAGE
    User-Agent: Viceroy 1.3
    Content-Length: 0
    22.411383 @SIP/Transport.c:2362 type=1 (00000000/0)
    [MESSAGE sip:user@lip:16402 SIP/2.0
    Via: SIP/2.0/UDP 68.109.25.62:16402;branch=z9hG4bK225017670f058825
    Max-Forwards: 70
    To: u0 <sip:user@lip:16402>;tag=242696585
    From: 0 <sip:user@lip:16402>;tag=1748993363
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 2 MESSAGE
    User-Agent: Viceroy 1.3
    Content-Type: text/plain
    Content-Length: 4
    PING]
    22.552977 @SIP/Transport.c:347 type=2 (00000000/0)
    [SIP/2.0 200 OK
    Via: SIP/2.0/UDP 68.109.25.62:16402;branch=z9hG4bK225017670f058825
    To: u0 <sip:user@lip:16402>;tag=242696585
    From: 0 <sip:user@lip:16402>;tag=1748993363
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 2 MESSAGE
    User-Agent: Viceroy 1.3
    Content-Length: 0
    23.667085 @SIP/Transport.c:347 type=2 (00000000/0)
    [MESSAGE sip:user@lip:16402 SIP/2.0
    Via: SIP/2.0/UDP 24.9.170.64:16402;branch=z9hG4bK0d3ce7637235b638
    Max-Forwards: 70
    To: 0 <sip:user@lip:16402>;tag=1748993363
    From: u0 <sip:user@lip:16402>;tag=242696585
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 4 MESSAGE
    User-Agent: Viceroy 1.3
    Content-Type: text/plain
    Content-Length: 4
    [PING]
    23.667857 @SIP/Transport.c:2362 type=1 (00000000/0)
    [SIP/2.0 200 OK
    Via: SIP/2.0/UDP 24.9.170.64:16402;branch=z9hG4bK0d3ce7637235b638
    To: 0 <sip:user@lip:16402>;tag=1748993363
    From: u0 <sip:user@lip:16402>;tag=242696585
    Call-ID: f7d46dbe-1d60-11dd-9664-c634114a4012@lip
    CSeq: 4 MESSAGE
    User-Agent: Viceroy 1.3
    Content-Length: 0

    I found the following comment the other day that goes some way to explaining why iChat might have problems with some NAT routers:
    http://www.technologyevangelist.com/2007/02/ichatav_the_bestun.html#comment-53326
    While it doesn't offer any solutions it might be worth firing off some iChat feedback to Apple referencing it. It seems like it might be a trivial bug for Apple to fix and could well alleviate many of the problems people are having.
    In the mean time if your router is one that has SIP ALG you could try disabling it and forwarding all relevant ports to your machine.

  • My phone randomly doesn't ring when people call and not sound the text alert. I checked all the settings and them seem to be correct. Anyone know how to fix this?

    My phone randomly doesn't ring when people call and not sound the text alert. I checked all the settings and them seem to be correct. Sometimes it rings, many times it doesn't. I have missed several calls. Same with texts. Anyone know how to fix this?

    Symptoms
    No ringer sound
    Go to Settings > Sounds > Ringtone and select a ringtone. Does the device ring? (YES: Issue resolved) (NO: Go to step 2)
    Go to Settings> General> Reset> Erase All Content and Settings. Warning: This will delete all user data on the device. Verify that you have a backup before proceeding. Go to Settings > Sounds > Ringtone and select a ringtone. Does the device ring? (YES: Issue resolved) (NO: Go to step 3)
    Restore device using latest version of iTunes. Go to Settings > Sounds > Ringtone and select a ringtone. Does the device ring? (YES: Issue resolved) (NO: Contact Apple for service options)

  • I have an account for apple but this is not acceptable for i cloud. It say it is correct ID and password but this is not icloud account. So my phone can not connect with my computer and not synchronization too

    I have an account for apple but this is not acceptable for i cloud. It say it is correct ID and password but this is not icloud account. So my phone can not connect with my computer and not synchronization too. Last a few months i have not use this phone. Just i start to use again. So most probably i gave my old mail address as a ID or password. So how can i clearing this subject. regards

    ErolSinan wrote:
    ... there is no button for update between the About and Usage buttons in the General. ...
    Correct. That is only a feature of iOS 5 or later...
    ErolSinan wrote:
    ... yes my phone is 3G.
    then it can only go as far as iOS 4.2.1

  • How do I determine if the memory problems are with my imac and not the RAM?

    I've heard of some vague problems with intel imacs and their memory slots. I'm about to replace (for the 3rd time) RAM, and think I need to test further to see if the problem is with my imac and not the RAM. Right now I put back in the original 2-512 sticks that came with the imac, and the rember test is only showing 594mb (odd amt!) testing OK. But, in "about my mac" it will show as 1gb.
    Problems I've had with each set of RAM: occasional KP's, excessive spinning beachballs, sudden closing of apps (esp. if I have several apps running), won't fax usually (will hear a fax tone instead of a dial tone at the onset), disappearing documents section under my username.
    I bought this imac refurbed thru the apple store last fall: 2.16 C2D 20" imac
    Any ideas before I have to separate myself from my imac to send it in??

    Hi Toodles
    The pin strips on the new modules maybe a little thicker than your original modules, and it's going to take more force to seat them properly. If the new Memory Specifications are correct I would try them again. Slide them in untill they stop, then push real hard untill you feel them seat into place.
    I've never seen a report about an odd amount of ram shown. If reinstalling the ram modules does not solve your issue, and may be a indication that there is something wrong with one of the slots.
    Dennis
    17" iMac Intel Core Duo - 2GB Ram -   Mac OS X (10.4.10)   - Maxtor 300GB FireWire - Creative Inspire 2.1 - 2G Nano

  • When trying to view a pdf from IE10 I get a small square with an X and not the document.

    When trying to view a pdf from IE10 I get a small square with an X and not the document. I have removed reader completely from the control panel and reinstalled version 11.0.4. I have IE 10 10.0.9200.16721. Need assitance in getting Reader XI setup.

    Hi,
    We have heard few users having similar issue as yours and found out the problem for one of the users is this: http://support.microsoft.com/kb/2716529 .
    I was able to reporduce this problem(square with a 'X') by changing the TabProcGrowth registry entry to 0.
    This tool provided by Microsoft is for Win 8, to run this on Win 7 you can manually change the registry setting : please see " Let me fix it myself" in above url.
    Before running these steps please make sure yours indeed is the same problem.
    Please be very careful as some registry settings (not this one) can create serious problems on a Windows system including causing it to no longer boo
    Let me know how it goes.
    Thank You.

  • How do I force the player to open in the center of my screen every time, and not way on the side?

    How do I force the player to open in the center of my screen every time, and not way on the side?

    Solution is very simple, Just choose firefox as your default browser.
    Follow these steps :
    * Open '''Options'''
    * Click on '''Advanced'''
    * Now open '''General''' tab and click on '''Make FireFox The Default Browser'''. See Image below.

  • Screen stuck on gray, used shift key and my screen appears with MacBook Pro and not the recovery option. Please help

    Screen stuck on gray, used shift key and my screen appears with MacBook Pro and not the recovery option. Please help!

    Hi ..
    Shift key boots into Safe Mode, not Recovery.
    This only works on a Mac running v10.7 Lion or later.
    Startup your Mac while holding down the Command + R keys. From there you should be able to access the built in utilities to repair the startup disk and restore OS X using OS X Recovery
    If you can't boot into Recovery Mode, help here >   Mac OS X: Gray screen appears during startup

  • Does airplay mirror only work with the ipad2 and not ipad1

    does airplay mirror only work with the ipad2 and not ipad1

    But can it still stream video wirelessly?
    For example, with the Digital AV Adapter I can watch video on my TV, but obviously it's wired.
    I'd like a wireless option.

  • Help export the graphic with transparent background and not braking the quality

    hi I'd like some help please if its possible.
    I've created a monitor graphic in Fireworks that looks like iMac and I would like to export it with transparent background.
    the jpeg format looks great with no damage to the graphic at all but I can't have transparent background, although I changed the canvas fill to none. the png-8 format can apply transparent background, but damages the graphic.
    Here are the previews
    1st - the png-8 format
    2nd - thejpeg format
    A ny ideas on how I can export the graphic with transparent background and not braking the quality??

    Fireworks questions are best answered at this link:
    <http://forums.adobe.com/community/fireworks/fireworks_general>
    Good luck.

  • I do a movie whith iMovie. I finalize the project and I pass it to iDvd. Then I do a little menu and I burn my DVD. When I play my DVD on a computer or in my TV it ALWAYS begins directly with the movie and not with the menu... PLEASE HELP!!!!

    I do a movie whith iMovie. I finalize the project and I pass it to iDvd. Then I do a little menu and I burn my DVD. When I play my DVD on a computer or in my TV it ALWAYS begins directly with the movie and not with the menu... PLEASE HELP!!!!

    Go to the Map mode in your iDVD project and make sure the blue bin at the left is empty.  That's where you drag slideshows to if you want the DVD to open immediately to that slideshow and bypass the menu. 
    Click to view full size
    If there is an item in there drag it out.
    OT

  • I lost my iphone, got a new sim card and put it in my boyfriend's old iphone. When I synch it in itunes it will only synch with his stuff and not mine. Any ideas how I can get it to synch with my itunes??

    I lost my iphone, got a new sim card and put it in my boyfriend's old iphone. When I synch it in itunes it will only synch with his stuff and not mine. Any ideas how I can get it to synch with my itunes??

    Are you using a Mac? It sounds like you are using his computer to sync to. If this is the case, then it will sync to all of his stuff unless a new user is created with your personal stuff on it.
    When you want to sync your iPhone to that computer, switch to your user first, and then everything will sync with your stuff. If he wants to hook up his iPhone to sync it, then he needs to switch back to his own username first.

  • Code works with Dreamweaver CS6 and not with CC

    <p><a href="javascript:void(0)" onclick="window.open('http://www.anything.comt', '', 'top=20,left=20,toolbar=0,statusbar=1,scrollbars=1,resizable=1')" title="title">name</a></p> works with Dreamweaver CS6 and not with CC
    [Edited Title and moved to Dreamweaver- JTS]

    I'm not quite sure I understand your point.
    I have just tested the Open Browser Window behavior in Dreamweaver CC. It creates slightly different code from Dreamweaver CS6, but it works correctly. This is what is created in the HTML:
    <p>my <a href="#" onClick="MM_openBrWindow('http://www.adobe.com/','mywindow','toolbar=yes,location=yes,status=yes,menubar=yes,scrollb ars=yes,resizable=yes')">link</a>
    </p>
    Dreamweaver CC also adds the following code to the <head> of the page:
    <script type="text/javascript">
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    </script>
    The definition of the MM_openBrWindow() function is needed in the <head> for the code to work. But it definitely works OK.
    With regard to _self and _blank not working, I can't find any problem with the way Dreamweaver CC handles them.
    However, if you feel happier working with Dreamweaver CS6, you can download it from the following page:
    https://creative.adobe.com/products/dreamweaver
    Open the drop-down menu under "In this version", and select Dreamweaver CS6 as shown in the following screenshot:
    With Dreamweaver CS6 selected, click the large Download button at the top-right of the page. You can then download CS6, and install it alongside Dreamweaver CC.

  • My iphone is frozen on a screen that is displaying a plug and an itunes icon. I need my phone to work now. Im on call and not at phone. Please help asap

    My iphone is frozen on a screen that is displaying a plug and an itunes icon. I need my phone to work now. Im on call and not at phone. Please help asap

    you need to connect your phone to iTunes.  No way around it.

  • Mail.jar is locked when sending a mail using servlet and not releasing

    Hi everybody,
    The mail.jar is locked in tomcat while sending the first message and not released until the tomcat get restarts.
    the problem is not recorded in any logs.
    1. Please create a servlet that sends mail
    2. Send a mail to any mailid
    3. then after the mail is send please try to delete the mail.jar or please deploy the same servlet again with some small changes (for redeploying take place only a few changes is there - please change any strings a little bit)
    then try to send mail using this servlet will not send mail becoause it will not redployed correctely.
    when i removed Transport.send(msg); from code it works fine. but ??
    please help me to recover from this issue. i don't want to turn on tomcat antiJarlocking and antiresourcelocking to true, becaouse this craete many other problems.
    please help me to recover from this issue.
    Thanks,
    Prasad.N

    hi friend
    I am using advanced version of jdk. i i have used many other jar files like mysqlconnector, logging, commonhttpclient, etc.... the only problem is with mail.jar. that locks are released when its use completed, but the lock holds until tomcat shutdown in mail.jar.
    what may be the reason?
    Thanks,
    Prasad.N

Maybe you are looking for

  • One user interface for multiple VIs

    I searched and searched for an answer to this so if it's out there please direct me to it. I have an application that has roughly 10 different VIs.  These VIs are virtually the same.  All they are doing is monitoring data for the operator for instanc

  • Document created on iPad not showing up on Mac

    Hey guys, I'm sure this is simple enough, but I've searched to no avail. My mac mini is running 10.8.2 with iWork. I also have the iWork suite on my iPad. I've got icloud set up on all of my devices yet documents created on my iPad don't show up in t

  • How to use Return parameter of BAPI in DOE

    Hello all, I have a question on Return parameter of BAPI wrappers written in backend. When we use the BAPI in DOE there i do not see any table which stores these Return parameters then what is the use of writting it in BAPI wrappers. Can anyone pleas

  • Settings to upload Quicktime X files to YouTube

    To upload a file to YouTube, I believe that the following file settings are  best: Compression - H.264, Frame Rate - 30, Data Rate & Key Frames - automatic, Frame Reordering - unchecked, Constant Bit Rate, Audio - AAC Format, Internet streaming - Fas

  • Editable regions for the new BC editor

    Hi Business Catalyst have now added a new incontext editor with new editable regions that is not supported inside Dreamweaver. Will the new editable regions be added to Dreamweaver in the near future? Morten Håland - Sitespark.no