Memory leakage issue in Solaris

Hi Team,
Hope you doing good!!
I am facing a memory leakage issue in the Solaris server configured.
details:
1. Frequent Increase in Memory Utilization
2. Major Faults in System Events 189084 & Increasing.
Server cofg.:
Solaris 9 version 5.9,Sun Java Web Server 6.1,JDK 1.5,Oracle 10g.
I really appreciate if you give conclusion for the above behavior of server ASAP.
Thanks,
Vivek
+919990550305

Please test it with release version as there may be a lot of things which are fixed after beta.
Also please note down the statement cache size your application was using earlier. Starting from 2.111.7.10/2.111.7.20, the statement cache size is automatically tuned by default. This feature is called self tuning. You may disable self tuning and specify your own statement cache size as usual. To know more about self tuning, please consult ODP.NET Developer's Guide.
I would suggest that you first upgrade to the release version 2.111.7.20. If that does not solve the problem, you may either
- specify MaxStatementCacheSize
or
- disable self tuning and provide your own statement cache size

Similar Messages

  • Memory leakage issue in Oracle-DOTNET environment

    Hi,
    One of my customer is facing a issue of memory leakage issue with their ASP.NET application. Following are the environment details
    1. ASP.NET 3.5 application (Uses some Infragistics controls for grids)
    2. SSRS for reporting
    3. Oracle Server as database (details given below)
    The memory leakage occurs while running load testing in his test environment.
    The memory is consumed (in tune of 1.2 GB) and then performance is hit.
    The memory dump is analyzed and we found Oracle client eating up a lot of memory which is not released.
    We tried to use 11g driver also but without any improvements.
    Environment Details :
    1. Oracle server version –
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 – Production
    2. Client version
    We are using following oracle client version SQL*Plus: Release 10.2.0.1.0 – Production
    (For performance purpose we have used following client version. SQL*Plus: Release 11.1.0.7.0 – Production)
    3. ODP.NET version
    Version of Oracle.DataAccess.dll is 2.111.7.10
    It will be great if any body can help on this issue and guide us on the right track.
    Thanks in advance.
    Thanks & Regards,
    Anoop

    Please test it with release version as there may be a lot of things which are fixed after beta.
    Also please note down the statement cache size your application was using earlier. Starting from 2.111.7.10/2.111.7.20, the statement cache size is automatically tuned by default. This feature is called self tuning. You may disable self tuning and specify your own statement cache size as usual. To know more about self tuning, please consult ODP.NET Developer's Guide.
    I would suggest that you first upgrade to the release version 2.111.7.20. If that does not solve the problem, you may either
    - specify MaxStatementCacheSize
    or
    - disable self tuning and provide your own statement cache size

  • How to overcome the Memory leakage issue in crystal report 2008 SP2 setup.

    I have developed the small windows based application tool with help of  Visual studio 2008 for identify the memory consumption of crystal report object. It helps to load the crystal report objects in the memory and then released the object from the memory. The tool simply does the u201CLoading and Unloadingu201D the objects in the memory.
    The tool will be started once u201CTest_MemoryConsumption.Exeu201D executed. The u201CTest_MemoryConsumption.Exeu201D consumes u201C9768 KBu201D memory before load the crystal report object in memory. It means, 9768 KB is normal memory consumption for run the tool.
    Crystal report object initiated by the tool and object help to load the report in memory once the tool initiated the crystal report object. Now u201CTest_MemoryConsumption.Exeu201D consumes u201C34980 KBu201D memory during the crystal report object creation and report load process. The actual memory consumption of crystal report object is 34980u20139768=u201C25212u201DKBu201D. 
    The memory consumption u201C34980 KBu201D will be continued till the end of the process. The memory consumption will be reduced to u201C34652 KBu201D from u201C34980 KBu201D once report load process completed. It means, u201C328 KBu201D memory only released from the memory consumption. Tool enables the Release command for the crystal report object. But crystal report object does not respond to the command and will not release his memory consumption.
    The memory consumption u201C34652 KBu201D will be stayed in the memory once job ends.  If i again initiate the crystal report object then it crystal report object start to consume the memory from 34652 KB.
    Database objects and crystal report objects are properly used in the tool. The object release commands properly  communicated to crystal report setup. But the u201CCrystal report service pack 2u201D setup unable to respond the commands which has enabled from .Net Tool.  Crystal report objects are properly initiated and disposed in the tool. But the crystal report unable to release from the server.
    The memory consumption will be reduced once the server restarted or kill the application.
    Crystal report 2008 and crystal report 2008 SP2 setup available in the server.
    Microsoft .Net Framework 2.0 SP2, Microsoft .Net Framework 3.0 SP2 and Microsoft .Net Framework 3.5 SP1 are available in the server,
    Could you please suggesst how to avoid the memory consumption keep increasing and  how to release the memory consumption  once the crystal object disposed???

    Hi Don..
    My case is different one. I hope, the problem with Run time Installation setup file (Crystal report 2008 Serivce Pack2 installer) which we installed in the server.
    Let me explain with Live scenario which our client faced in crystal report 2008 Service pack2 Installer.
    Our client is using a application to help to print their reports. The application is developed with Windows service.
    Windows service keep on running in the server. Windows service executes the client 's crystal reports( Labels Report, Stock  report) which designed for clients need and the reports will be printed from printer. 
    10 Same type report (Label Report) will be printed in 1 minute. Reports are not printing during non business hours. But the windows service keep on running.  Memory cosumption of application will be 160 MB in business hours.
    For Example, On Monday the application memory consumption starts with 160 MB. The Memory consumption will be reached 165 MB  in peak business hours. Then the memory will be ended in163 MB in the End of Monday. It means, The memory consumption will be in 163 MB during the non business hours. Reports will not be printed in non business hours.
    On Tuesday, the application memory consumption starts with 163 MB and it will be reached 168 MB during the peak hours. The Memory consumption will be ended in 165 MB in the end of Tuesday.  The same process contiues till friday. End of friday, the memory consumption of the application will be ended with 170 MB.
    Application Memory Consumption slowly increasing in the server. In 5 days, Memory consumption reached Threshold value (170 MB) of the server. Application gets hanged up once the memory consumption reached 170 MB. We got the error messages as "Attempted to read write protected memory " / "Not Enough memory for process".  If we restart server / If we restart the service then memory consumption of application get reduced to 160 MB.
    From the above scenario, We came know that the either the problem with Application object or the problem crystal report object. In the application, We have checked dispose methods of application objects completly. I am sure that  application objects are properly disposed in the application. I hope the problem not with application objects. The problem with Crystal report objects.
    Application properly communicates the dispose methods to crystal report objects. Crystal report objects are not released from
    the memory.
    Crystal report 2008 Serive Pack 2 setup installed in the server. 
    As you said, If Crystal report runtime is not released from memory then memory consumption keep increase???  In service oriented architecture application, how to unload the crystal report runtime??
    Do you any fix for this kind of issue??
    Willl Crystal report 2008 service pack 3 help on this issue??

  • Memory leakage issue

    HI,
    Some of the custom developed OAF screens in the instance 11.5.10 are resulting in drastic memory usage and hence the application goes out of memory.
    Any suggestions to rectify this?
    "the new feature that got introduced in 11.5.10 is java object caching ( JOC), this JOC tries to keep all query results in memory and there by causing jvm memory usuage to increase" - How to avoid caching of SQL queries?
    Thanks,
    Kamath.

    Another option would be to tune your custom queries to return a smaller result set. I do not believe the JOC can be disabled as this is required for standard OAF pages to work.
    Details about JOC are at http://blogs.oracle.com/stevenChan/2007/05/01/
    HTH
    Srini

  • How to find memory leakages in every screens and components in an Flex application ?

    Hi Guys,
    I was running my flex application and left it running over night.
    I noticed that it had a memory leakage issue. The memory leakage was huge upto 1.5gb
    Is there is way i can find out from where (which screen? and which component?) the memory is leaking in my application.??

    That's why FlashBuilder has a profiler.  There are some tips for use on my
    blog.
    Alex Harui
    Flex SDK Team
    Adobe System, Inc.
    http://blogs.adobe.com/aharui

  • Process memory leak issue  solaris 10

    I have a process which has a memory leak issue. I ran this process on solaris 9 as well as solaris 10. When i run prstat command i get a different output for two. Funny thing is that memory leak noted in solaris 10 is much more than that in solaris 9 e.g if it is 1 MB in solaris 9 then its 4 MB in solaris 10.
    What can be possibly causing this ? Is this related to kernel implementation on diff solaris ?

    I have a process which has a memory leak issue. I ran this process on solaris 9 as well as solaris 10. When i run prstat command i get a different output for two. Funny thing is that memory leak noted in solaris 10 is much more than that in solaris 9 e.g if it is 1 MB in solaris 9 then its 4 MB in solaris 10.
    What can be possibly causing this ? Is this related to kernel implementation on diff solaris ?

  • Memory leakage with oracle oci driver

    I have developed a Solaris8 client/server application using the JAVA IDL CORBA implementation. The client sends requests to the server to update the database (database is Oracle 8.1.7 and I connect to it using oci oracle drivers). Requests are sent one at a time. No concurrent connections. I have a static connection that I establish with database once I start the server. If that connection is lost for any reason (timeout or database faliure) the application tries automatically to reconnect to database. I have noticed that if the new connection to database fails and an sql exception is thrown, memory used by the application process increases. This memory is not garbage collected so application hangs. I tried similar behaviour with the oracle thin driver and things went fine. There was no memory leakage.
    I would really appreciate, if you can help me in this since I can't use the thin driver because of failover limitations.

    I have noticed
    that if the new connection to database fails and an
    sql exception is thrown, memory used by the
    application process increases.
    How have you noticed this?I noticed this using the command pmap under solaris it operating system
    every time I test reconnecting to database I go and check the memory used by the application before after attepmting to reconnect:
    /usr/proc/bin/pmap [myapp pid] | tail -1
    If I'm using normal connection then the memory will be increased by 100KB. If I'm using the OraclePooledConnection class then the increase will be something like 500KB. Again this is if still there is a problem connecting to database. If connection to database is okay then no memory increase at all.
    This memory is not
    garbage collected so application hangs.
    Then it isn't a java problem. When java runs out of memory it throws a out of memory exception.Well I'm not saying it is a java problem for sure. I suspect that it might be oracle oci8 driver problem. I would appreciate if anyone can help in specifying teh source of the error.
    I tried
    similar behaviour with the oracle thin driver and
    things went fine. There was no memory leakage.
    I would really appreciate, if you can help me in this
    since I can't use the thin driver because of failover
    limitations.
    I don't understand that last sentence at all.What I mean here is that instead of using the oci8 driver to connect to database I used the thin driver and kept everything else the same. I simulated the faliure to reconnect to database and based on the pmap command observations there was no memory leakage.
    I want to know what is needed to be done in order to get a normal behavior once using the oci8 drivers.

  • Memory Leakage while parsing and schema validation

    It seems there is some kind of memory leakage. I was using xdk 9.2.0.2.0. Later i found that from this forum which contain a Topic on this and they (oracle ) claim they have memory leakage. And they have fixes this bugs in 9.2.0.6.0 xdk. When i used truss command, for each call to parser and schame validation, it was opening file descriptor for lpxus and lsxus file. And this connections were not close. And keep on openning it with each call to parser. I was able to diagonise this using truss command on on solaris. After making many calls, i was error message could not open file Result.xsd (0202). I am using one instance of Parser and Schema. And i am doing clean up for parser after each parse.
    Later i downloaded, 9.2.0.6.0,
    Above problem for the parser was solvedm but still the problem continued for schema validation. And even i tried with latest beta release 10.
    And this has caused great troubles to us. Please can u look whether there is come sort of leakage. Please advice if u have any solution.
    Code---
    This below code is called multiple times
    char* APIParser::execute(const char* xmlInput) {
              char* parseResult = parseDocument(xmlInput);
              //if(strcmp(parseResult,(const char*)"")==0) {
    if(parseResult == NULL) {
                   parseResult = getResult();
    parser.xmlclean();
         return parseResult;
              } else {
                   return parseResult;
    Parser and schema are intialised in Construtor and terminated in Destructor.

    Hi, here is the complete test case
    #include<iostream>
    #ifndef ORAXML_CPP_ORACLE
    # include <oraxml.hpp>
    #endif
    using namespace std;
    #define FAIL { cout << "Failed!\n"; return ; }
    void mytest(int count)
         uword ecode;
         XMLParser parser;
         Document *doc;
         Element root, elem;
         if (ecode = parser.xmlinit())
              cout << "Failed to initialze XML parser, error " << ecode << "\n";
              return ;
         cout << "\nCreating new document...\n";
         if (!(doc = parser.createDocument((oratext *) 0, (oratext *) 0,(DocumentType *) 0)))
         FAIL
         if (!(elem = doc->createElement((oratext *) "ROOT")))
                   FAIL
         string test="Elem";
         for(int i=0;i<count;i++)
              //test="Elem"+string(ltoa(i));
              if (!(elem = doc->createElement((oratext *) "element")))
                   FAIL
              if (!doc->appendChild(elem))
                   FAIL
         //doc ->print();
         //parser.xmlclean();
         parser.xmlterm();
    int main(int argc,char* argv[])
         int count=atol(argv[1]);
         mytest(count);
         char c;
         cout<<"check memory usage n press any key"<<endl;
         cin>>c;
         return 0;
    -------------------------------------------cut here-----
    Now, i cant use the xdk 10g because i work on a hpux machine. I have tried the above program with a count of 1000000. the memory usage at the end was around 2 gigabytes.
    Could someone please please help me? :(
    Thank you.

  • Memory leak issue on Blackberry Torch 9860

    I own a Blackberry Torch 9860 Os 7.0 Bundle 1465 for the last 5 months
    Previously I had Blackberry Curve 9300 which I had upgraded to OS 6.0. It had memory leak issues wherein my application memory would gradually dropdown to merely KBs within a few days and I had to reboot it to restore the same.
    When I purchased Torch 9860, I migrated my device settings from Curve to Torch using the Desktop Manager. I face the same memory leak issues in this new device as well. I have 3 email accounts configured on my device and some social networking applications which include facebook, twitter, and some messengers. I usually delete my emails and keep only a few useful mails for reference. Still I am facing this issue wherein I have to reboot my device to restore the application memory. It starts from 152 Mb and usually dropsdown to merely Kilobytes of memory. The phone freezes for around 1-2 minutes sometimes when I am on call, or accessing my contacts.
    Also to let you know that I have a 8GB memory card on my phone which has around 1.6 GB free space. I have disabled Compression on my memory card as well.
    Please advise as I am having a hard time using this time this way.
    Regards,
    Abhinav Sharma
    Thanks and regards,
    Abhinav Sharma

    I have the almost same problem when i run the phone gap app on the 9800 torch OS 6 than this build of 1.2 MB takes the memory of 40 MB at run time and the device gives the low memory message and close the app forcefully.
    In my app phone gap is using 3-4 html pages and java script .
    And when i navigate on these pages it gives this message of memory low.
    Please help me to out of this .
    And please suggest if any professional help in this
    Thanks\\\
    Vipin Tomer

  • Memory leak issue with link server between SQL Server 2012 and Oracle

    Hi,
    We are trying to use the linked server feature with SQL Server 2012 to connect SQL server and Oracle database. We are concerned about the existing memory leak issue.  For more context please refer to the link.
    http://blogs.msdn.com/b/psssql/archive/2009/09/22/if-you-use-linked-server-queries-you-need-to-read-this.aspx
    The above link talks about the issues with SQL Server versions 2005 and 2008, not sure if this is still the case in 2012.  I could not find any article that talks about if this issue was fixed by Microsoft in later version.
    We know that SQL Server process crashes because of the third-party linked server provider which is loaded inside SQL Server process. If the third-party linked server provider is enabled together with the
    Allow inprocess option, the SQL Server process crashes when this third-party linked server experiences internal problems.
    We wanted to know if this fixed in SQL Server 2012 ?

    So your question is more of a information type or are you really facing OOM issue.
    There can be two things for OOM
    1. There is bug in SQL Server which is causing the issue which might be fixed in 2012
    2. The Linked server provider used to connect to Oracle is not upto date and some patch is missing or more recent version is to be used.  Did you made sure that you are using latest version.
    What is Oracle version you are trying to connect(9i,10g, R2...)
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?

    Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?
    I found one such tool "Fortify" in the below link. Are there any such kind of tools available which supports SharePoint?
    Reference: http://www.securityresearch.at/en/development/fortify/
    Amalaraja Fernando,
    SharePoint Architect
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.

    Hi Amalaraja Fernando,
    I'm not sure that there is one more tool that combines all these features. But you may take a look at these solutions:
    SharePoint diagnostic manager
    SharePoint enterprise manager
    What is SPCop SharePoint Code Analysis?
    Dmitry
    Lightning Tools Check
    out our SharePoint tools and web parts |
    Lightning Tools Blog | Мой Блог

  • What is the best way to deal with memory leak issue in sql server 2008 R2

    What is the best way to deal with memory leak issue in sql server 2008 R2.

    What is the best way to deal with memory leak issue in sql server 2008 R2.
    I have heard of memory leak in OS that too because of some external application or rouge drivers SQL server 2008 R2 if patched to latest SP and CU ( may be if required) does not leaks memory.
    Are you in opinion that since SQL is taking lot of memory and then not releasing it is a memory leak.If so this is not a memory leak but default behavior .You need to set proper value for max server memory in sp_configure to limit buffer pool usage.However
    sql can take more memory from outside buffer pool if linked server ,CLR,extended stored procs XML are heavily utilized
    Any specific issue you are facing
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Memory Leakage in dlls called through JNI

    I have some dll that are called through a JNI code that have a memory leakage. I need to find how much is that.
    Do we have some functions for that to find it in the code.Is that possible without making changes in the JNI code.
    I checked but all suggest a memory leakage tool.But i want to do that writing a code in Java.I have checked for the Runtime class but it only finds the JVM related memory usage and not the dll one.

    amol28 wrote:
    But i want to do that writing a code in Java.Not possible. JNI/C/C++ is not java. So you can't use java to verify it.
    I checked but all suggest a memory leakage toolEither that or you manually inspect and/or test the code yourself (in C/C++).

  • Does making objects equal null help the gc handle memory leakage problems

    hi all,
    does making objects equal null help the gc handle memory leakage problems ?
    does that help out the gc to collect unwanted objects ??
    and how can I free memory avoid memory leakage problems on devices ??
    best regards,
    Message was edited by:
    happy_life

    Comments inlined:
    does making objects equal null help the gc handle
    memory leakage problems ?To an extent yes. During the mark phase it will be easier for the GC to identify the nullified objects on the heap while doing reference analysis.
    does that help out the gc to collect unwanted objects
    ??Same answer as earlier, Eventhough you nullify the object you cannot eliminate the reference analysis phase of GC which definitelely would take some time.
    and how can I free memory avoid memory leakage
    problems on devices ??There is nothing like soft/weak reference stuffs that you get in J2SE as far as J2ME is concerned with. Also, user is not allowed to control GC behavior. Even if you use System.gc() call you are never sure when it would trigger the GC thread. Kindly as far as possible do not create new object instances or try to reuse the instantiated objects.
    ~Mohan

  • Memory Card Issue with my BlackBerry Curve 9300

    Hello,
    I have been using the memory card for more than a year. It's a SanDisk or a ScanDisk memory card. It's 8 GB. I didn't use the card that came with my BlackBerry Curve 9300 phone. I'm always trying to delete files or to copy files, most of them are music files from my laptop to the memory card via memory card reader.
    Now I am encountering a message that I need to repair the memory card whenever I try to insert it to my phone again. And most of the time whenever the phone automatically repairs it, some files are corrupted or considered as a "lost chunk files".
    How can I recover those files? And why did it happen or always happen in the first place?
    According to this site, you need to reformat it: http://www.techtalkz.com/tips-n-tricks/1535-memory-card-corrupted-here-solution.html
    So what I did is to copied everything to my laptop then reformatted it completely.
    It kinda solved the issue but for how long will I won't be experiencing the "repair memory card" issue and the "lost chunk files" issue?
    Do I need another program to reformat the memory card and not to use the one that comes with every windows computer?
    Does using a memory card reader or using a memory card adapter (for the microSD card) corrupts the memory card?
    I have been researching on how to completely recover the files but I'm a bit confused.
    There are a lot of recovery programs out there.
    Can you guys help me out here? Thanks.
    Here are the researches that I made:
    http://www.diydatarecovery.nl/chkmate.htm
    http://forums.crackberry.com/blackberry-torch-9800-f209/torch-freezes-media-card-corrupted-627384/
    http://www.berryreview.com/2009/01/08/tips-tricks-recover-files-from-a-corrupted-sd-or-microsd-card/
    http://supportforums.blackberry.com/t5/BlackBerry-Torch/Media-card-corrupted/td-p/1181945
    http://www.squidoo.com/recoverphotosblackberry
    http://www.ehow.com/how_2129153_retrieve-pictures-corrupt-memory-card.html
    http://panasonic.jp/support/global/cs/sd/download/index.html
    http://www.datarecoverybook.com/drb/usb-drive.html
    http://www.cgsecurity.org/wiki/TestDisk
    http://www.memorycardrepair.org/memory-card-repair/downloads.html

    vikram82 wrote:
    Tried a couple of things. Still my issue is not resolved
    I think you should try each and everyone of the solutions suggested in the link I provided, given that it covered both harware and software suggestions. And always reset the device by removing the battery whilst the device is powered-on. Leave the battery out for a minute or 2 after each step.
    See if that resolves the problem.
    Blackberry Best Advice - Back-up weekly
    If I have helped you please check the "Kudos" star on the right >>>>

Maybe you are looking for

  • Got my new Macbook Air - miss iWeb.

    Isn't it part of the iLife Suite? Can't get it at the app store either. What to do? Thanks

  • Saving Sessions 100% Correctly For Launching On Another Computer

    Hi, I have GB 2.02. On Mac OS 10.4.11. PowerBook G4 17". I have made a few songs, some have actual recorded audio in them, some have samples, and some of course have the midi stock sounds in them. What I was wondering is, where the heck are all these

  • Crystal Reports version 10.2 and IE8 issues

    We are currently running Visual Studio 2005 and using the Crystal Reports that comes packaged with Studio.  We are creating avery labels with crystal reports and we see our data perfectly fine in FF and IE7 - however in IE 8 for our Subreports we get

  • Admin Server Funcationality in a WebLogic Cluster

    Is this a correct statement of how the Admin Server is handled in WebLogic Cluster: "If you have a two node WebLogic 10.3 Cluster then you will have the Admin Server for the domain running on node1. The managed server within the domain will run on bo

  • How do I stop photoshop (elements3) from opening when I load photos

    Hi, I have photoshop elements 3 and also Camedia which is the software that came with our digital camera.  I would prefer photoshop didn't open each time I load photos or when I want to view photos.  Is there a way of controlling this? Regards