Memery leak in Xpath API (64 Bits) of Oracle_XDK C Components v10.1.0.3.0

uname -a
SunOS ans7135 5.10 Generic_118822-02 sun4u sparc SUNW,UltraAX-i2
cc -V
cc: Sun C 5.6 Patch 117551-05 2005/05/10
I compiled XSLXPathSample.c with -xarch=v9 and LIB=-L$(TOP)/lib64 $(XDK_LIB) $(ORA_LIB) -ldl $(NET_LIB) -lm.
Purify found there is a lot of memery leak from XmlXPathCreateCtx().
There is no leak in 32 Bits.
Please help me to find out the reason.
Thank you very much.

I encountered the same problems with binding date variables on Solaris. The SQLBindParamater would be successful for the date, but during the SQLExecute I always get this error:
ORA-01483: invalid length for DATE or NUMBER bind variable
I logged an official service request, and Oracle confirmed the problem. You can see it at bug 5241003. FYI, there is currently no estimated time for a fix.

Similar Messages

  • XPath API woes

    I'm trying to parse an XML document using the Actionscript 2
    XPath API. In one place I am using this as my xpath:
    presentation/content[@contentName='wellness']/section[@sectionName='Nutrition/Weight']'
    It fails when I use a slash in the "sectionName" attribute,
    when I remove the slash in the XML file and change the xpath
    accordingly it works fine. This XML is being generated for me, so I
    really have no choice in the matter, the slash has to stay. Is
    there something I can do to get around this problem?

    Mainly :
    - Speed,
    - Compact : 100Ko,
    - Pluggable kit for custom node usage,
    - JDK 1.1,
    - Featuring like lowercase/uppercase for HTML.
    Hope it replies,
    A.Brillant

  • XPath API getting Nodes

    Hi,
    My Data XML converted through Xstream
    <Data>
    <id>1</id>
    <name>Name</name>
    <DataList>
    <DataVO>
    <VoId>100</VoId>
    <value>Value1</value>
    <ProductList>
    <Product>
    <ProductId>P101</ProductId>
    <PName>Product Name1</PName>
    </Product>
    <Product>
    <ProductId>P102</ProductId>
    <PName>Product Name2</PName>
    </Product>
    </ProductList>
    </DataVO>
    <DataVO>
    <VoId>101</VoId>
    <value>Value2</value>
    <ProductList>
    <Product>
    <ProductId>P201</ProductId>
    <PName>Product NameX1</PName>
    </Product>
    <Product>
    <ProductId>P202</ProductId>
    <PName>Product NameX2</PName>
    </Product>
    </ProductList>
    </DataVO>
    </DataList>
    </Data>
    The Problem
    =========
    While I am maintaining the relationship parsing through XPath API , I am giving to fetch products as API path as "/Data/Datalist/DataVO/ProductList/Product/ProductId" to get the list of products, I can able to get the 4 Products NodeList, But I want to set the each products "VoId" , Like P101 related with 100, P102 related with 100, P201 related with 101, P202 related with 101. Any Sugesstions, parsing logics?

    Namespaces are not evaluated as XML constructs in XPath, but namespaces are required to be configured in the parser. Refer
    Parsing with the JDOM XPath Class
    http://www.onjava.com/pub/a/onjava/2005/01/12/xpath.html

  • No Setup.exe in 64-bit Oracle Data Access Components (ODAC) Dowload

    Why is there no Setup.exe in the 64-bit Oracle Data Access Components (ODAC) Download? Are the only instructions for installing in the dowloaded readme file?

    You're probably looking at an XCOPY bundle.
    If you're looking for an x64 11.2 bundle installed via the Oracle Installer, you'd need to get either the 11201 full client on OTN, or the 11202 full client on My Oracle Support. The 11202 full client includes support for .NET 4 if you need that.
    Hope it helps,
    Greg

  • Error while installing DI API (32 bit) for SBO 9.0 PL 05

    Dear Experts ,
    I'm trying to install version 9.0 (32 bit) on my machine (windows 7 64 bit) . Everything is installed successfully except DIAPI . I'm not able to install the DI API. I try to uninstall / install many times but without luck . Cleared the SAP folder, temp folder but still when it comes to DI API installation it just failed.
    Any help would be much appreciated .
    Thanks in advance.

    Hi Nagarajan,
    Thanks for your prompt reply. The installation setup is on my local machine and i have the local admin rights on machine machine. And I don't have any problem in installing other components including server tools, server and client etc.
    Friday I changed my computer name keeping SBO 9.0 instructions in mind (not to include any special character in computer name) and then I uninstall sap 8.82 from control panel , everything related to SAP was removed. Then I try to install SAP 9.0 PL 05 .
    Server tools -- > installed
    Server  -- >Installed
    Client -- > installed
    SDK -- > Installed
    DI aPI (32 but ) -- > Error -- > Another version is already installed .
    I looked in control panel again -- > nothing there.
    Then i again uninstall everything (for V9.0) -- > delete sap folder from program files (x86) restart my system --> again same error regarding DI API.
    This error was showing me the registry value so I search the registry and found there that DIAPI related version 8 is still there .
    So I took registry backup and try to rename registry key and value but with no luck . Still i was not able to install DI API
    So today morning I delete the all the references from registry related to that value (the one i was getting showing Another version is already installed). and I start getting this error i.e. the network related error which is 1316.
    I restore the registry backup to Friday's backup and then again try to install but I'm getting 1316 error constantly.
    Try to clean the registry and fix the registry errors with CC cleaner but nothing is happened still stuck with 1316 error.
    Regards

  • Memory Leak Issue With Win7 64 bit and Youtube.

    I have a Win7 64 bit using IE9 with version 11.4.402.265 installed. 4 MB installed.
    Whenever I go to Youtube or Liveleak, and watch videos, over time it uses up to 4gigs of my memory! Even if I close the window, it does not free up the memory until I Ctrl/Alt/Delete and shut down the window(s).
    I normally only keep open 1-2 windows. Google toolbar is about the only thing installed. I can open 5 and more tabs, but as long as the site does not use flash, I don't have issues and each window usually uses under 200k memory watching them in task manager.
    When I go to open and watch a youtube video, it slowly climbs to 200k and within an hour, I can be at 2 gigs or more memory and up to 4 gigs within 2 hours (or sometimes much sooner). Closing the window does not release the memory until I end task on it and then after a minute or so, the memory seems to clear and everything is back to normal.
    I searched the forums and seems lots of users, report memory leaks, some using yahoo toolbar installed, which is not my case. I do use yahoo as my e-mail address, no idea if that is related or not. I had the same issue when I had the prior Flash version installed, this has been going on for months. Right now having only this window open, using 129, 192 memory. If I open one more window (using the 64 or 32 bit browser) and start youtube, the memory in that window keeps climbing about 50-100kb a second, so it adds up quickly. I have kaspersky running in the background and that is about it other then my nvida driver setup.
    Really frustrating that so many people here and across the internet have reported this. I did have IE8 a few weeks ago and still had the same issue, upgraded to IE9 to see if that helped.
    Interesting side note, if I pause a video, it slows way down on the memory leak, but still rises at a slower pace. I don't know if this is an IE thing or Flash. I have had this setup since 2009 and don't recall having issues with IE7. I use Youtube so much as a teaching instrument as a music teacher, so constantly have lessons going on it.
    Thanks and hope someone has come up with something. I also build computers and have done some programming, so I could modify a file if needed with clear instructions.

    This could be similar to bug https://bugbase.adobe.com/index.cfm?event=bug&id=3334814

  • Fast XPath API

    JXP is a Fast XPath 1.0 compliant API.
    Download :
    http://www.japisoft.com/jxpath/download/unregistered.zip
    Home :
    http://www.japisoft.com/jxpath
    Forum :
    http://www.japisoft.com/forum/index.php
    News :
    Cache support for the navigator (by default enabled)
    Fixed bug for simple expressions like 1+1
    Fixed bug for // usage
    A DOM document can be used rather than an Element
    Main features :
    * High performance full XPath 1.0 solution,
    * 25% faster than jaxen,
    * SAX - like event system,
    * Inner expression tree for fast multiple document evaluation,
    * Syntax error location and cause,
    * DOM support,
    * FastParser lightweight node support,
    * Customizable API with navigator, function libraries,
    * Plugin for each node type system,
    * Lower/Uppercase feature
    * Full samples with DOM,
    * Tested on 150 XPath expressions,
    * Benchmark tests included,
    * Package of 85 Ko
    * Open source for the registered version,
    * JDK1.1 and later compliant (tested on JDK1.1.8 and JDK1.4.1)
    A.Brillant
    http://www.japisoft.com

    Mainly :
    - Speed,
    - Compact : 100Ko,
    - Pluggable kit for custom node usage,
    - JDK 1.1,
    - Featuring like lowercase/uppercase for HTML.
    Hope it replies,
    A.Brillant

  • Possible Memory Leak in C-API

    I can start my C_API JMS application and just create a JMS context. Looking at the windows task manager I see the memory footprint slowly grow.
    I'm not a Java wizard so I haven't found the right tools set for diagnosing this.
    Thanks for any help

    Has anyone else tried to track a memory leak in a JNI application? How did you achive this task, what tools did you use?You write a library in C/C++ only which does NOT use JNI which implements the functionality you want to achieve in your java application.
    You write a wrapper for that which excercises it completely including be able to run it in a loaded state.
    Then you buy/find a C/C++ profiling tool and run it on the wrapper.
    You write you JNI code such that the ONLY thing it does is interface between java and the library above. It doesn't impleent business logic nor work flow.

  • Possible memory leak in forms api 6i

    There appears to be a bug in forms 6i.
    I am getting an error at the following snippet of code. The Name prints fine and the whole code runs great if i comment out free(v_value), but obviously i would not want to do that.
    I am using MS VC++ 6.0 compiler,
    The error is::
    HEAP[xephr.exe]: Invalid Address specified to RtlFreeHeap( 3540000, 364fc08 )
    This means that i am trying to free the memory which has already been freed, meaning thereby that api has already freed the memory associated with name. But then why should the api function d2fobgt_GetTextProp free the memory allocated for name as i am supposed to free it.
    Now that appears to be a bug.
    Please suggest...
    Here is that relevant code snippet...
    text* name;
    if (d2fobgt_GetTextProp(ctx, p_obj, prop_num, &name)==D2FS_SUCCESS)
    printf("\nName=%s\n", name); /* prints the name properly*/
    if ( v_value!=NULL )
    free(v_value); /* Raises error, Invalid Address specified to RtlFreeHeap, the error disappears if i
    comment out the free(value) line. */

    Hello :)
    I read your message cause i look for a answer to a big problem i encountered while trying sample code from Oracle Forms API : it's impossible to create the Forms API Context, the d2fctxcr_Create() function always return D2FS_FAIL.
    As your problem seem to be happened after this call, i wonder you can create the context without errors.
    Here the code I used, so perhaps you can see my error (I compile under VC6) :
    int main (int argc, char *argv[])
    d2fctxa ctx_attr;
    d2fctx *ctx;
    d2fstatus status;
    /* Create Forms API context */
    ctx_attr.mask_d2fctxa = 0;
    if ( (status=d2fctxcr_Create(&ctx, &ctx_attr)) != D2FS_SUCCESS )
    fprintf(stderr, "Error creating Forms API context (%d)\n",status);
    exit(1); /* ALWAYS GO THERE */

  • Directory API to download list of Business Components

    Hi All,
    I have requirement to download the Business Component list into an excel using Directory API using NWDS.I have followed william's blog, and able to download ICO and CC list in excel, however when I am trying the similar way to download Business components, the code is giving multiple errors.
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/10/12/using-pi-73-s-directory-api
    If anyone has worked on this requirement, please help me with the pointers.
    Thanks,
    Ruchi

    these functions are available inside BusinessComponentIdentifierCollection.java.
    This has getBusinessComponentID(). Try using this

  • Potential memory leak in 11.2.0.1.0 cluster stack components

    Hi All,
    We are running 11.2.0.1.0 RAC on OEL 5.5 and OEL 5.5. On all of our boxes, we have observed a gradual increase and filling of swap space. Swap usage slowly but steadily increase to a point where either the Node boots automatically or we have to manually restart it.
    To get more insight into the issues, we recently upgraded one of the nodes to Oracle unbreakable kernel and installed smem to profile the memory consumption pattern. smem will give the process set size (RSS), the unique set size (USS) and the proportional set size (PSS) which is the unique set size plus a portion of the shared memory that is being used by this process.
    It appears that there is a gradual increase in memory/swap consumption of some clusterware components. Also the weird part is that the process is filling up the swap space and not utilizing the unallocated RAM.
    Memory footprint at the Node start...
    PID User Command Swap USS PSS RSS
    4001 root /u01/app/11.2.0/grid/bin/ohasd.bin 16236 18128 18829 30284
    5200 oracle /u01/app/11.2.0/grid/bin/oraagent.bin 13536 74512 75587 87156
    4255 grid /u01/app/11.2.0/grid/bin/oraagent.bin 13484 2644 3628 15056
    4688 root /u01/app/11.2.0/grid/bin/crsd.bin 8240 71584 72628 85692
    Memory footprint after 24 hrs...
    PID User Command Swap USS PSS RSS
    5200 oracle /u01/app/11.2.0/grid/bin/oraagent.bin 94952 121168 122161 133488
    4688 root /u01/app/11.2.0/grid/bin/crsd.bin 66220 76684 77723 90776
    4001 root /u01/app/11.2.0/grid/bin/ohasd.bin 21448 24708 25410 36892
    4255 grid /u01/app/11.2.0/grid/bin/oraagent.bin 13840 2372 3202 14316
    #free -m
    total used free shared buffers cached
    Mem: 3964 3856 108 0 5 1846
    -/+ buffers/cache: 2004 1959
    Swap: 4094 617 3477
    Has anyone experience similar situation? I did google search as well as Metalink, but did not find anything useful.
    Any thoughts/suggestions are welcome.
    Thanks,
    -Sanjeev
    Edited by: user12219014 on Jan 9, 2011 5:58 AM

    Thanks for pointing to MOS notes, they were quite helpful. Though sometime on our system, ohasd.bin consumes more resources. Is it safe to kill it?
    Also, we have observed that there are multiple oraagents belonging to different users such as root,grid and oracle.
    grid 14620 1 0 20:32 ? 00:00:14 /u01/app/11.2.0/grid/bin/oraagent.bin
    root 14625 1 0 20:32 ? 00:00:02 /u01/app/11.2.0/grid/bin/orarootagent.bin
    root 14627 1 0 20:32 ? 00:00:00 /u01/app/11.2.0/grid/bin/cssdagent
    grid 14803 1 0 20:32 ? 00:00:06 /u01/app/11.2.0/grid/bin/oraagent.bin
    oracle 14807 1 0 20:32 ? 00:01:53 /u01/app/11.2.0/grid/bin/oraagent.bin
    root 14811 1 0 20:32 ? 00:00:38 /u01/app/11.2.0/grid/bin/orarootagent.bin
    When these are killed, not all are re-spawned automatically - typically oraagent belonging to "oracle" user is left out. Is this an expected behaviour or it will cause some instability in the clusterware?
    Thanks

  • WARNING TDMS memory leak in LV 2010

    Hopefully this will save someone the headache that I've been through the last couple of days.  I have a very large applicaiton that is running a final verification test on a production line.  In my testing I noticed a memory leak in the application and after 2 days of debug discovered that the TDMS logging is the culprit.  This is very disappointing since I am (I mean was) a huge fan of the TDMS file format and the LabVIEW functions.  The attached VI reproduces the leak by checking and unchecking the Memory Leak checkbox.  Its a bit ugly but I was just coping and pasting the sections from my application and trying to reproduce the issue.  Luckily for me in this particular application I was only writing to the TDMS log files so I was able to eliminate the problem by switching to the gTDMS versions of the write functions.  I found these referenced in another post about TDMS memory leak, but in that case the leak was caused by the indexing and the fact that the SAME file was continuously written too over a very long period.  As you can see in my case, a log file is opened and closed for each "Test".
    gTDMS link
    Thanks,
    Brian
    Brian Gangloff
    DataAct Incorporated
    Attachments:
    TDMS Memory testing.vi ‏31 KB

    YongqingYe wrote:
    Hi Brian,
    I'm one of the developers of TDMS in NI R&D. Well, this is a problem of TDMS which has been complained by some customers. The reason you see the "memory leak" or the memory usage increment is because TDMS needs to bookkeep some information in memory and when you writing more and more data values, the information we keep in memory will keep increasing.
    There are some workarounds, gTDMS probably is also one of them, but the original purpose of creating gTDMS is to support writing TDMSs on Linux, Mac and other platforms:
    Using "NI_MinimumBufferSize" propertie on channels, you can find the details of the help documentation of TDMS Set Property. It can not eliminate this problem, but would reduce the memory usage significantly. Normally we would set it as 1,000 to 10,000.
    From LV 2009, if you writing to the file always with the same layout, like same channels same number of data values, you will not have memory increament.
    If you are using LV 2010 and later, you can try to play with TDMS Advanced API, this API will not have any memory increasing problem at all.
    Thank you!
    Yongqing Ye
    NI R&D
    Hello Yongqing,
    Apparently you did not bother to look at the examples that I provided or read any of the description either.  As Hooovahh has already pointed out, INDEXING is NOT the issue.  The example writes an array to multiple channels ONE time and then the reference is CLOSED.  In the case that does NOT leak, there are multiple waveform arrays written to the file which would require some indexing but the memory does NOT increase.  The problem is when an array of strings is written to multiple channels and the reference is CLOSED.  Unfortunately this type of quick assumption about the problem is why the real issue was overlooked back in 2009.
    Thanks,
    Brian
    Brian Gangloff
    DataAct Incorporated

  • C++ sample code using XPATH

    Need to navigate an XML and extract xml nodes using XPATH expressions in C++ Application.
    Please send us a C++ code sample using Oracle 9.2.0.3 XPATH API functions to extract an XML using XPATH expression.
    Thanks
    Shiva

    Hi,
    Where i can find this path "$XDK_HOME\xdk\demo\c\xslt"
    thanks in advance
    shashi.

  • XPath for Java

    Hi all,
    I have an xml and i would like to do some query to the xml.
    Is there any XPath API that i can use in java ?
    Currently using 1.4.2
    Is there any other recommendations?
    Thanks

    Xalan and Jaxen are two possibilities:
    http://xml.apache.org/xalan-j/
    http://jaxen.org/

  • DNG Timestamp from Android camera2 API

    Hey folks-
    I have a problem with erroneous timestamps on my DNG images coming from Android apps capable of capturing RAW images.
    I have been very excited that Android now allows RAW capture in the new camera2 API, in the form of DNG files.  I have a Nexus 6 and I have tried two paid apps that that allow DNG capture ("Camera FV-5" and "Manual Camera").  In both cases, when I import the DNG files into Lightroom, they are showing up in directories that are days in the past.  At first, I blamed FV-5, since it was completely rewritten around the new Android API.  But just today I tried Manual Camera, and it does the exact same thing.
    I've been in discussion with the FV-5 author, and poked around the API a bit, and it appears that the DNG comes straight from the camera.  If the timestamp is wrong, it seems like it is probably Android's fault.  However, when I take a DNG file directly from my phone's file system and examine it with exiftool, I see this (some info redacted):
    ExifTool Version Number         : 9.78
    File Name                       : IMG_20150107_153045.DNG
    Directory                       :
    File Size                       : 25 MB
    File Modification Date/Time     : 2015:01:07 15:30:47-07:00
    File Access Date/Time           : 2015:01:07 17:39:54-07:00
    File Creation Date/Time         : 2015:01:07 17:39:54-07:00
    File Permissions                : rw-rw-rw-
    File Type                       : DNG
    MIME Type                       : image/x-adobe-dng
    Exif Byte Order                 : Little-endian (Intel, II)
    Subfile Type                    : Full-resolution Image
    Image Width                     : 4208
    Image Height                    : 3120
    Bits Per Sample                 : 16
    Compression                     : Uncompressed
    Photometric Interpretation      : Color Filter Array
    Image Description               :
    Make                            : motorola
    Camera Model Name               : Nexus 6
    Strip Offsets                   : (Binary data 26769 bytes, use -b option to extract)
    Orientation                     : Horizontal (normal)
    Samples Per Pixel               : 1
    Rows Per Strip                  : 1
    Strip Byte Counts               : (Binary data 15599 bytes, use -b option to ext
    ract)
    X Resolution                    : 72
    Y Resolution                    : 72
    Planar Configuration            : Chunky
    Resolution Unit                 : inches
    Software                        : google/shamu/shamu:5.0.1/LRX22C/1602158:user/release-keys
    Modify Date                     : 2014:12:31 04:08:50
    The creation time that I have in bold at the top is absolutely correct.  But note this "modify date" at the bottom.  For whatever reason, that is the time that Lightroom is using to identify the file...putting it in dated folders according to that time, renaming the file with that YYYYMMDD_HHMMSS, and telling me that this is the capture time when I hover over the preview.
    So this is where my limited knowledge and expertise run out.  First of all...what is "Modify Date"?  How is it different from the formal "File Modification Date/Time"?  Why does Lightroom choose to use this instead of the aptly named "File Creation Date/Time" (perhaps a question for a Lightroom forum)?  And, of course, why is this time in the past (perhaps a question for the Android devs)?
    Any thoughts?  Has anyone else seen this?  I have searched around and found no trace of this issue anywhere, and I'm shocked that no one would be pairing Lightroom with Android DNG images and reporting this yet.
    Thanks!
    Drew

Maybe you are looking for

  • A problem when using Sun One to create a Servlet?

    I have the Sun One Application Server installed on my computer. I used the Sun One Studio to create my first Servlet: HelloServlet. The steps are as following: 1)First, the filesystem I mounted on Sun One Studio is: D:\myProgram\John\JohnEJB1. 2)Then

  • Mystery file in trash at startup

    Hi! I have this mysterious file in the trash every time I turned the iMac. It has been going on for a while now and I can't get rid of it. Even secure empty trash did not work. When I click on get info, instead of giving me information about the file

  • Zen Touch 40GB User Guid

    I just purchased it yesterday, where is the User Guide? I have a booklet for Quick Start, but that's it. Is it on the CD? If so where? Thanks!

  • Shutter sound on an Ipod 4G?

    Is there any way at all to turn this sound off? As soon as you pull up the camera to take a picture, when the shutter opens, you CAN NOT turn the volume up or down. I have went to the sounds part in the settings, turned the thing from off to on up at

  • Printing with Leopard and Aperture?

    Has anyone tried to print via Aperture after the Leopard upgrade and the Aperture 1.5.6 update? I just want to make sure my HP B9180 will still work after the install! Many thanks to the brave who have run the updates already and can provide insight