AVConversionConvertFromPDFWithHandler for jpeg memory leak?

Hi,
I'm trying to utilize this AVConversionConvertFromPDFWithHandler call in my plugin to convert single page PDF into JPEG file. I've added available memory trace before and after this call and I have this data (in bytes here):
2010.10.12 23:24:07:515 pid: 5612, tid: 7080: Memory before AVConversionConvertFromPDFWithHandler: 1038352384
2010.10.12 23:24:12:546 pid: 5612, tid: 7080: Memory after AVConversionConvertFromPDFWithHandler: 1028227072
So, you could see that AVConversionConvertFromPDFWithHandler ate about 10 MB of memory.
My test PDF is 22 KB in size and generated JPEG is 387 KB. Why do we have such huge memory consumption? Do I need to call some special cleanup after that call is done?
The version of Adobe ImageConversion.api plugin, which is involved in that conversion is 9.3.3.177. I'm running that on Windows XP.

Memory grows each time with that call. Look at this:
2010.10.13 00:13:51:109 pid: 6352, tid: 6596: Memory before AVConversionConvertFromPDFWithHandler: 1035579392
2010.10.13 00:13:56:468 pid: 6352, tid: 6596: Memory after AVConversionConvertFromPDFWithHandler: 1025404928
2010.10.13 00:14:45:968 pid: 6352, tid: 6596: Memory before AVConversionConvertFromPDFWithHandler: 990334976
2010.10.13 00:14:51:515 pid: 6352, tid: 6596: Memory after AVConversionConvertFromPDFWithHandler: 988655616
2010.10.13 00:15:45:374 pid: 6352, tid: 6596: Memory before AVConversionConvertFromPDFWithHandler: 966565888
2010.10.13 00:15:49:812 pid: 6352, tid: 6596: Memory after AVConversionConvertFromPDFWithHandler: 964751360
2010.10.13 00:16:48:421 pid: 6352, tid: 6596: Memory before AVConversionConvertFromPDFWithHandler: 941375488
2010.10.13 00:16:53:062 pid: 6352, tid: 6596: Memory after AVConversionConvertFromPDFWithHandler: 939618304
Well, while it doesn't grow each time by 10 MB as with initial call, it still grows by about 2 MB on each call after that.
So, if called in that way for let say 101 PDFs - then I'll loose about 210 MB of memory and if I want to process even more files without Acrobat restart - probably it will crash at some point.

Similar Messages

  • IFS ALERT NOTICE FOR JDBC MEMORY LEAK FIX

    IFS ALERT NOTICE FOR JDBC MEMORY LEAK FIX
    Product and Version Affected:
    Product: Oracle Internet File System
    Product ID: 7
    Version: 1.0
    Description: There is a memory leak when retrieving or saving BLOBs through JDBC. IFS will appear to continue to increase in its memory consumption until the user runs out of swap space, and the machine stops functioning.
    Platform Affected: Sun SPARC Solaris, Windows NT
    Likelihood of Occurrence: Most iFS customers will notice this problem, since most will retrieve and store enough document content that they will notice the memory leak.
    Symptoms:
    - Performance becomes unacceptable on a minimally configured machine when doing significant retrievals and storage of documents.
    - Significant swapping of the operating system.
    - The user sees real memory and total memory continue to increase without bound when using any iFS protocols to retrieve and store document content.
    - The memory usage goes back to normal when the iFS protocols are stopped.
    Solution: Get the JDBC 8.1.6.0.1 patch for Solaris or NT (the OCI component, for JDK 1.1). Install it on all machines where the iFS protocols are running. The patch may be obtained on http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm (you have to be logged into technet).
    Be sure to get the OCI component of JDBC 8.1.6.0.1 for JDK 1.1.
    null

    Moving to Top

  • Effective tool for GDI memory leaks detection

    Hello!
    Would you advice me some effective tool for GDI memory leaks and run-time errors detection in VC++?
    Thanks!

    926007 wrote:
    This forum is about Java.No, this forum is about C++.
    Please notice the name of the forum: "Solaris Studio *C++*", under the category "Application Development in C, C++, and Fortran".
    There are other forums for Java, listed here:
    https://forums.oracle.com/forums/category.jspa?categoryID=285

  • Best Practices for EJB--memory leak avoidance

    I an researching a memory leak. From what I can tell, we do not want to put any instance variables at the class level. This would incur a memory leak when the ejb containers creates the ejb.
    I am wondering if there are any more 'best practices' with EJBs that prevent memory leaks. A good site would help me too
    Russ

    Thank for your reply.
    You are right. I was referring to stateless session
    beans.
    What I was thinking was the following:
    1. Making parameters final unless the parameter
    r state is changed inside a method.Won't help with memory leaks. There are benefits for an object being immutable, but I don't think that it eliminates the possibility of the object being leaked.
    2. All instance variables in stateless session beans
    s should be set to null upon ejbPassivate and
    ejbRemove operations. The variables should be
    populated on ejbCreate and ejbActivate.Optimizing compilers don't need the hint of setting the reference to null. I don't think that helps, but I'm not 100% certain.
    3. Before throwing an exception at the session bean
    level, clear up all the instance variables by setting
    them to null.Shouldn't scope make it clear to the GC that the objects aren't needed? If they're all primitives, how does this help memory leaks?
    I am using a profiler to identify the objects still
    being held onto once GC, but I was hoping others with
    more experience than I would share some of their tips
    on how they avoid memory leaks.I don't know where you're getting these tips, but I don't think they're helpful.
    Collections and Singletons would be the places where I'd look. If you add a reference to an object that holds onto it in a collection and never lets go, the GC won't reclaim it.
    Singletons aren't cleaned up, because their instance is static. Anything the Singleton refers to won't be cleaned up unless the Singleton relinquishes the reference.
    Look for things like that. I think they matter more.
    %

  • CS3: Leaks.txt - How can I find the reason for the memory leaks?

    Hi<br /><br />I get the following messages in Leaks.txt, created from the memory tracker (Windows):<br /><br />------------------------------------------------------------------------<br /><br />Leaks!  13 leaks, 845468 bytes<br /><br />65036 bytes at: 5B42FE0<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     44D8D23B     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     0039C74F     cannot find address in any module!<br />     00396DEC     BIBGetVersion cannot be found in any module!<br />     00396E60     BIBGetVersion cannot be found in any module!<br />     003979E4     cannot find address in any module!<br />     451D3A61     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     451D3A14     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8CCEE     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D02E     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D5C8     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     1002C26E     cannot find address in any module!<br />     1002BFB9     cannot find address in any module!<br />     00401644     cannot find address in any module!<br />     00405146     cannot find address in any module!<br />     00404EBD     cannot find address in any module!<br />     7C816FD7     RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 5B52E30<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     44D8D23B     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     0039C74F     cannot find address in any module!<br />     00396DEC     BIBGetVersion cannot be found in any module!<br />     4FEC149B     cannot find address in any module!<br />     4FEC4C63     cannot find address in any module!<br />     44D8CD53     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D02E     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D5C8     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     1002C26E     cannot find address in any module!<br />     1002BFB9     cannot find address in any module!<br />     00401644     cannot find address in any module!<br />     00405146     cannot find address in any module!<br />     00404EBD     cannot find address in any module!<br />     7C816FD7     RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 5B72D20<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     44D8D23B     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     0039C74F     cannot find address in any module!<br />     00396DEC     BIBGetVersion cannot be found in any module!<br />     4E1D1A7A     cannot find address in any module!<br />     4E212081     cannot find address in any module!<br />     44D8CD8D     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D02E     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D5C8     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     1002C26E     cannot find address in any module!<br />     1002BFB9     cannot find address in any module!<br />     00401644     cannot find address in any module!<br />     00405146     cannot find address in any module!<br />     00404EBD     cannot find address in any module!<br />     7C816FD7     RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 5CD1478<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     44D8D23B     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase ca

    Hi<br /><br />I get the following messages in Leaks.txt, created from the memory tracker (Windows):<br /><br />------------------------------------------------------------------------<br /><br />Leaks!  13 leaks, 845468 bytes<br /><br />65036 bytes at: 5B42FE0<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     44D8D23B     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     0039C74F     cannot find address in any module!<br />     00396DEC     BIBGetVersion cannot be found in any module!<br />     00396E60     BIBGetVersion cannot be found in any module!<br />     003979E4     cannot find address in any module!<br />     451D3A61     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     451D3A14     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8CCEE     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D02E     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D5C8     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     1002C26E     cannot find address in any module!<br />     1002BFB9     cannot find address in any module!<br />     00401644     cannot find address in any module!<br />     00405146     cannot find address in any module!<br />     00404EBD     cannot find address in any module!<br />     7C816FD7     RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 5B52E30<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     44D8D23B     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     0039C74F     cannot find address in any module!<br />     00396DEC     BIBGetVersion cannot be found in any module!<br />     4FEC149B     cannot find address in any module!<br />     4FEC4C63     cannot find address in any module!<br />     44D8CD53     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D02E     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D5C8     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     1002C26E     cannot find address in any module!<br />     1002BFB9     cannot find address in any module!<br />     00401644     cannot find address in any module!<br />     00405146     cannot find address in any module!<br />     00404EBD     cannot find address in any module!<br />     7C816FD7     RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 5B72D20<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     44D8D23B     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     0039C74F     cannot find address in any module!<br />     00396DEC     BIBGetVersion cannot be found in any module!<br />     4E1D1A7A     cannot find address in any module!<br />     4E212081     cannot find address in any module!<br />     44D8CD8D     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D02E     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     44D8D5C8     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase cannot be found in any module!<br />     1002C26E     cannot find address in any module!<br />     1002BFB9     cannot find address in any module!<br />     00401644     cannot find address in any module!<br />     00405146     cannot find address in any module!<br />     00404EBD     cannot find address in any module!<br />     7C816FD7     RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 5CD1478<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     44D8D23B     K2Internals::K2VectorBase<Schemas::SchemaInfo,K2Allocator<Schemas::Sc hemaInfo> >::erase ca

  • KeyboardFocusManager reason for memory leak?

    Hi all,
    with a memory leak detector we found that our application has massive memory leaks after opening and closing a JDialog and the reason we found was the following:
    The KeyboardFocusManager has a private static HashMap in which the actual focus in each window is stored. This is done by storing key/value-pairs in the HashMap with window as a key and the Component having the focus on this window as the value. Now you can throw the reference to the component away by using e.g. theComponent.setEnabled(false) - the KeyboardFocusManager then stores the pair window/null in the HashMap - but we didn't find any callable method to remove a key/value-pair from the HashMap and so the reference to the JDialog (as the key!!) stays resident and we have the reason for the memory leak. Now I have a few questions to this problem:
    1. Is it right in your opinion, that there is no method to delete the entry from this Hashtable?
    2. If this is the case - we have the opinion that there must be a good time to delete this entry (e.g. when disposing the dialog). Do you see if there is an obvious reason that this opinion is false?
    3. If no do you think this problem can be accepted as a bug by sun
    Thanks in advance and greetings from
    Holger

    I have been seeing similar behavior; I too have not found all the
    leaks. I think I have slowed the allocation by replacing some of my
    'build array' functions with the combination of 'initialize array'
    followed by 'replace array subset'. The drawback to doing it this way
    is that you have a fixed maximum number of elements allocated just once
    rather than allowing an array to grow incrementally. Please let me know
    if you try removing build arrays and if that helps.
    By the way, there is a checkbox under the options menu to deallocate
    memory as soon as possible - if you don't mind that your program runs
    more slowly, this may help to avoid the problem, at least temporarily.
    -vinny
    ciossek wrote:
    > dear all,
    > my labview program needs an increasing amount of memo
    ry when running
    > (at the time about 12k/s) which leads to swapping memory on my hdd.
    > i have found out that calling cluster references like Controls[] or
    > decos[] leads to this kind of memory leak and made a work around for
    > that (simply calling it only once at runtime) but there are more
    > memory leak(s)which i cannot find. The bugs that i have found
    > searching the labview resources does not answer my problem.
    >
    > does anybody already found out more memory leak problems ?
    >
    > thanks

  • How to determine memory leaks?

    I tried in XCODE, the RUN/ Start with Performance TOol / and tried out the various options. I was running my app and looking to see if it would report increasing memory use but it seemed to be looking at my total system (i was running under the simulator). In general what is the recommended procedure for determining memory leaks, which tool to use, and what tracing can i use?
    How does one look at the retain count of an object? are there system routines that have knonw leaks?

    You took the right path. Once instruments comes up select the Leaks tool. Turn off automatic leak detection. In your app, start off at some known state, do something, and come back to the known state and check for leaks. For instance start off in a view, do something that brings up another view then come back to the original view and check for leaks. Leaks will show you if you leaked. Since you took a very deterministic path then checked it should be straight forward to go to the code and find / fix the leaks. Leaks shows you where the code where the leak was generated.

  • Memory leak issues persist in Safari 6.0.5 (it's about time that Apple actually fixed this)

    Safari has been notorious for its memory leaks for years, as I'm sure many of you know. I stopped using Safari as my main browser in 2010 or so, and I instead began to use Chrome. However, I recently had to use Safari to access some webpages, and I neglected to quit out of it. A few hours later, my computer slowed to a complete crawl. I was confused, because my computer never slows down to such a crawl, so I went into Activity Monitor to find the 'Safari Web Content' process using all of my available RAM, which was nearly 6 GB. Needless to say, Safari was force quit after that. I've heard that some plugins will cause this, but Flash was my only active plugin. Flash is, indeed, a heaping pile of crap that will readily eat resources as it sees fit- but this never happens to me in Chrome, and I use Flash all of the time n Chrome. This was after it had been sitting idle for quite some time, and I imagine that it would have used more RAM if it could.

    Using 6.0.5 here without any of those issues ...
    Regardless of whether Flash is being used, from your Safari menu bar click Help > Installed Plug-ins.
    Try troubleshooting extensions and third party plug-ins.
    From your Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that off if there are any installed. Quit and relaunch Safari to test. If that helped, turn extensions back on then uninstall one a time to test.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow all other plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    my computer slowed to a complete crawl.
    Checked to see exactly how much space is available ??
    Click your Apple menu icon top left in your screen. From the drop down menu click About This Mac > More Info > Storage
    Make sure there's at least 15% free disk space.
    Checked the startup disk lately?
    Launch Disk Utility located in HD > Applications > Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If the disk needs repairing, restart your Mac while holding down the Command + R keys. From there you can access the built in utilities in OS X Recovery to repair the startup disk.
    message edited by:  cs

  • Memory leak with File Write.vi

    Hi All,
    I am trying to save a big data cluster, which includes images, into a data log file. The vis I use are: New File.vi, Write File.vi, Close File.vi.
    The problem is Write File.vi has memory leak  when the data cluster includes images .
    Anyone sees similar case?  Any solution?
    Thanks.
    Aiqiu

    Aiqiu,
    I am glad you found out about flattening your image to a string.  I was about to post and say that you probably didn't want to save the IMAQ image reference to a file, because after you closed the image in memory, there wouldn't be anything for the IMAQ image reference to point to.  You are correct to flatten the image to a string.  Below is a link to a document which discusses doing this to communicate over datasocket, but the processes of flattening the image to a string is the same regardless of whether or not you are sending the image across a datasocket connection or saving to a file.
    Transfering Images with DataSocket
    As for the memory leak.  I am pretty sure that if you passed all of the IMAQ Image references created in the "Image Init Buffer.vi" subVI and then closed each reference individually, that the memory leak would probably go away.
    Lorne Hengst
    Application Engineer
    National Instruments

  • Memory Leak with Tomcat version update 3.2 to 6.0

    Hi, I've been trying to update tomcat from 3.2 to 6.0. My issue is that I have a memory leak(s?) that make the web application unusable. Currently in my setup I am using these components:
    Tomcat 6.0, sun JDK 1.6.0_01, mssql 2005, Microsoft SQL Server 2005 JDBC Driver 1.2, xalan 2.7.0, log4j 1.0.4 (should be only out of date component)
    It is a fairly large application that uses xslt with xalan and java servlets to display web pages. There was no issue with memory leaks before the update from tomcat 3.2, sun jdk 1.4.2 and old xalan and jdbc (for mssql 2000) components.
    My question for the community is, where should I be looking for my memory leak. Are there known issues with my setup?
    thanks for your help,
    Matt

    Just in case someone goes down the same road as me, my problem was actually the one listed on the page below. My threads are not being released after a StandardContext reload. Which I'm not sure if this leak applies to tomcat version <4 or not.
    http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669

  • URGENT: Memory leak in UIX 2.1.7?????

    We are using UIX 2.1.7 and when searching for potential memory leaks we found a situation where UIX does not release some of our dataObjects after a page has been rendered. Analyzing the problem we found out that there are CompositeRenderingContext objects which seem to be reused but they always maintain a reference to the dataObjects that have been used when rendering the last page.
    The references are: CompositeRenderingContext holds CompositeRenderingContext holds Comp...... holds TableRenderingContext holds CustomDataObject
    In our case this is a very bad behaviour because some of our dataObjects are quite large and maintain references to lots of other objects, which can never be released (even after all users logged out) unless the RenderingContext releases our dataObjects.
    So my question:
    Are these observations correct?
    Is there a way to make the renderingContext release the dataObjects after rendering the page - or to explicitly say remove all unused renderingContext objects?
    How many such CompositeRenderingContext trees can the UIXFramework at most hold?
    Please help - this is very urgent as we have a customer that thinks the memory consumption of our application grows indefinitely and they cannot go into production with such a problem.
    Thanks,
    Guido

    Hi Guido,
    This was fixed in UIX 2.1.16 and UIX 2.2.0. This is not an unbounded memory leak; it will eventually peak. Patching to UIX 2.1.16 or later will resolve the problem. You'll have to contact your Oracle support team to get this release. I'm not sure how that works.
    JDeveloper 10g Preview has UIX 2.2.
    Thanks,
    Jeanne

  • COM+ and OLEDB - memory leak in OCI dlls

    Hi forum,
    I've a COM+ DLL written in C++ which uses OLEDB(Oracle 8.1.7 provider) to reach to the 8i database. I've observed that after some 1000 database activities the DLLhost.exe hogs on memory to the tune of 50MB and never releases the same. I also saw the same behavior with a Win32 console application. For some reason the Uninitialize of the IDBIntialize does not seem to reduce the memory. I also ran bounce checker on my code. And its pointing to the OCI dlls for a memory leak of 18K per each database activity.
    I downloaded the OLEDB sample code(VCOLEMRecordsSample) from the OTN site:-
    http://otn.oracle.com/sample_code/tech/windows/ole_db/oledb8/index.html
    This also seems to hold on to memory after successive run of SQL queries.
    Is there anything that I am missing. I am curious about the fact that it happens with the sample app hosted on the OTN site. Do I need some OCI patches to be applied to the client? In fact, applied couple of them, but does not help.
    Appreciate any pointers!

    I am using 8.1.7.3.2. In fact I applied this patch recently.
    Also today I detected a memory leak in my code.
    After GetColumnsInfo() call I was not releasing the last param(ppStringsBuffer).
    This seems to have fixed the problem. I tried running the win32 console app for 5,000 runs(each run has 2 SQL queries and 1 stored proc). The peak mem usage stays stable around 26MB and the mem usage varies from 8MB to 26MB. I guess this is fine, any info?

  • Memory leaks in my application

    Hi all,
    My application is running well but the memory used by my application is not properly released. If my application is kept running for a day ..then the total system memory is used and server got struckup. can any body help me how can trace for the memory leaks in my application.
    Thanks in advance.
    Santhosh.gandhe

    What version of JDK are you running?
    The Java compiler leaks memory each time a class is compiled. Web applications containing hundreds of JSP files may as a result trigger out of memory errors once a significant number of pages have been accessed. The memory can only be freed by stopping Tomcat and then restarting it.
    The JSP command line compiler (JSPC) can also be used to recompile the JSPs.
    Note: This issue has been fixed in Sun JDK 1.4.x.

  • Memory Leak when just launched and Idle..  fixes when being used ??  [HELP]

    So I'm in the debugging and testing phase of my app and using this tool for tracking memory leaks ( https://github.com/mrdoob/Hi-ReS-Stats )
    When I launch my app my numbers are
    FPS: 61/60
    MS: 17
    MEM: 3.157
    MAX: 3.157
    Now immediately my memory starts increasing    from  3.157, 3.167, 3.177, 3.187, 3.197 and so on.
    Now if I make any nav selection in my app
    MEM changes back down to about 3.215
    but then it starts its count again   3.215, 3.225,  3.235, 3.445, 3.455
    I don't have any loops happening.
    Has anyone run in to this ?
    I'm almost tempted to force garbage collection every 60 seconds that the app is idle or something.  Not the best way to handle this ..   I just dont know where the leak is happening.
    Any support is appreciated!
    Cheers!

    Hi there - I just had the same query a couple of days ago (http://forums.adobe.com/thread/977174?tstart=30).
    I saw the same symptoms on my app so I built a blank app with just the profiler on stage. I've been monitoring it for a few days now and notice that memory does creep up even when the app is left idle (apart from the profiler) - but ... and this is the important bit ... it does periodically get reduced back to the starting point (when the garbage collector kicks in and memory is released).
    When I was monitoring my app the time through this cycle could be well over 5 mins.
    If you actually use the monitor when putting your app through it's paces you'll see memory being gobbled up more rapidly and hopefully (if you've no leaks) the garbage collection kicking in more regularly and bringing the reported usage back down.

  • SA500 UPnP Memory Leak

    Looking at the release notes for firmware v1.1.21 I noticed that one of the known issues with this product line is a memory leak issue with UPnP.
    I am looking to purchase new devices for my network and this product line is one that I'm looking into.
    However, I plan to use UPnP extensivley on my network and will not purchase a device that has problems with it.
    Is there a time frame for this memory leak to be fixed?
    Something like a memory leak that can cause a device to lock up or reboot should be high priority to be fixed.

    The UPnP leak was found late in testing.  I don't have too much info on it, but I know they are looking to fix it soon.  I don't have a time frame and I believe the leak was small, but if you are using UPnP extensively, I would wait to avoid down time.

Maybe you are looking for

  • Compilation using an extended class...

    I'm beginning to program in Java after several years away. I cannot for the life of me see why this is not compiling. I'm reading a Wrox book on Java Server Pages and working examples as I go along. This problem should be a snap but not for me. I hav

  • Add fields in  FBL5N output

    Hi      I have to add some fields in output list in FBL5N transaction code. How to add the fields?      Is it possible to copy the standard program and again shall i add the new fields in output list.     Please tell me how to do it? Thanks.

  • How can i open a directory in sql*plus?

    i need to run a file in sql* but i didn't know how to open the directory which contains it, can u tell me plz?

  • HT4623 no sound after upgrade

    My Iphone 4s had no sound after upgrade to ISO 6. Please help me, thanks

  • Airport Express (AX) not found after restart....driving me mad, please help...!

    Hello, I tried to search for this issue but never found the solution. In the meantime, it drives me mad......so please do respond if you know the answer. Here is the problem. I have a WDS setup for our home, time capsule as base and several airport e