Memory leak issue in tuxedo server

Hi,
I am facing memory issues in our tuxedo application.One of the server memory utilization is gradually increasing after reboot. As a temporary solution , we are making restart of that particular server every week.
I have installed Valgrind tool.i am trying to call the service ( Around 800 services are part of application ) which i suspect causing memory leak through ud script. like below.
valgrind ud32 < servicename.ud
but it is not giving memory leak details in actual service instead it is giving details about ud.
Could you guys suggest how can we find memory leak in tuxedo services.
Thanks
Ramana

HI Sir,
Thanks a lot for your response.
I ran the comand as mentioned by you in your post. but i haven't shutdown the server bcoz it is prod environment.
It logged huge output to the log file.
Below is the summary of the logfile.
==00:00:00:05.383 23666== LEAK SUMMARY:
==00:00:00:05.383 23666== definitely lost: 7,105 bytes in 7 blocks
==00:00:00:05.383 23666== indirectly lost: 3,383 bytes in 18 blocks
==00:00:00:05.383 23666== possibly lost: 28,653 bytes in 9 blocks
==00:00:00:05.383 23666== still reachable: 529,286 bytes in 288 blocks
==00:00:00:05.383 23666== suppressed: 0 bytes in 0 blocks
==00:00:00:05.383 23666==
==00:00:00:05.383 23666== For counts of detected and suppressed errors, rerun with: -v
==00:00:00:05.383 23666== Use --track-origins=yes to see where uninitialised values come from
==00:00:00:05.383 23666== ERROR SUMMARY: 107 errors from 72 contexts (suppressed: 10 from 10)
But I am not able to understand the output logfile. Could you please let me know how can we analyze the logfile.
Thanks in advance.

Similar Messages

  • 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 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

  • Is this a memory leak issue ?

    We are using Jdev10g + BC4J + Struts + JSP to build our enterprise application,
    but when the application running some days in our Application Server(RedHat AS3-86, with 4GB RAM), the memory consumed is serious ! we doubt and worry
    about maybe our application suffer the memory leak problem, so we want to know have the command to find out whether our application caused the memory leak
    issue and which program is the major murderer for memory.
    In EM console , the memory utilization chart have big memory consumed in "other" legend ? the "other" legend is mean what ? I cannot find the consumer process in system level through ps command ? it seems disapear ! but after I reboot the server , the "other" legend is clear !

    The second scenario is, as we perform some deployment activity on 10g, the memory usage chart shows a sharp consumption of memory about 1.5GB .the loss memory almost be display in "other" legend chart !
    Please give us some advice , thanks in advance

  • PGA memory Leak issue along with TNS: listener could not hand off client connection

    Hi,
    We have two Oracle Database instances in a 32 bit Standard Edition Windows OS machine with 3 GB RAM : 1) 1525 MB (SGA+PGA) 2) 515 MB (SGA+PGA)
    Recently we upgraded the RAM from 3 GB to 4 GB. Subsequently we upgraded the SGA + PGA of the 2nd instance to 771 MB.
    This has resulted into PGA memory leak issue reported in the alert log file and trace file.
    Reverting back the SGA+PGA size to 515 MB solved the issue.
    Is this issue related to Address Windowing Extension (AWE)?
    Is the reason related to Total memory for all the cumulative Oracle instance should be < 2GB.
    How to solve this?
    Mon Jul 15 08:21:25 2013
    ORACLE V10.2.0.4.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU                 : 4 - type 586, 4 Physical Cores
    Process Affinity    : 0x00000000
    Memory (Avail/Total): Ph:1068M/4023M, Ph+PgF:4985M/7933M, VA:18M/2047M
    Instance name: dp3
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    Windows thread id: 4484, image: ORACLE.EXE (SHAD)
    *** 2013-07-15 08:21:25.133
    *** ACTION NAME:() 2013-07-15 08:21:25.133
    *** MODULE NAME:() 2013-07-15 08:21:25.133
    *** SERVICE NAME:() 2013-07-15 08:21:25.133
    *** SESSION ID:(90.829) 2013-07-15 08:21:25.133
    ******** ERROR: PGA memory leak detected 6302928 > 30176 ********
    HEAP DUMP heap name="pga heap"  desc=6C98A800
    extent sz=0x206c alt=92 het=32767 rec=0 flg=3 opc=3
    parent=00000000 owner=00000000 nex=00000000 xsz=0x0
    EXTENT 0 addr=7FC10008
      Chunk 7fc10010 sz=    64996    free      "               "
      Chunk 7fc1fdf4 sz=  2097676    freeable  "krfrbAllocate: "
    Dump of memory from 0x7FC1FDF4 to 0x7FE20000
    7FC1FDF0          1020020D 7FC10010 03871E90      [.. .........]
    7FC1FE00 00000000 00000000 00000000 00000000  [................]
      Repeat 131103 times
    EXTENT 1 addr=7FA00008
      Chunk 7fa00010 sz=    64996    free      "               "
      Chunk 7fa0fdf4 sz=  2097676    freeable  "krfrbAllocate: "
    Dump of memory from 0x7FA0FDF4 to 0x7FC10000
    7FA0FDF0          1020020D 7FA00010 03871E90      [.. .........]
    7FA0FE00 00000000 00000000 00000000 00000000  [................]
      Repeat 131103 times
    EXTENT 2 addr=7F7F0008
      Chunk 7f7f0010 sz=    64996    free      "               "
      Chunk 7f7ffdf4 sz=  2097676    freeable  "krfrbAllocate: "
    Dump of memory from 0x7F7FFDF4 to 0x7FA00000
    7F7FFDF0          1020020D 7F7F0010 03871E90      [.. .........]
    7F7FFE00 00000000 00000000 00000000 00000000  [................]
      Repeat 131103 times
    EXTENT 3 addr=70A50008

    There may be something fixed in the patch that gives the error rather than mysterious hangs.  I would prefer that, myself.  There may be something in the patch that changes how Oracle allocates user, system and program areas.
    At some point you spend more trying to limp things along in a growing environment than simply upgrading.  32 bit environments these days is an indicator that management is figuring some false economies.  But that's their prerogative.
    The PGA can be affected by many things, not least of which is how the application uses it.  Much has been written about it, my own experience has been more is used than most people say.  But that is probably just my app.  Note there are different ways to set it, and a parameter with "target" in it might not be a hard limit.  Different execution plans for the same code may use different amounts of memory - there can even be situations where forcing some code to use a sort area instead, or even forcing more operations to disk, can free up more pga for everyone else.  It depends.  But that's why I look at multi-pass operations in dbconsole.

  • PROXY.NLM Abend & Memory Leak issues

    Issue:
    1. BM39SP2 abends frequently
    2. Memory Leak issue.
    3. During the restart, it has Short Term memory issues
    Environment:
    Netware 6.5 SP6
    BorderManager 3.9 SP2 (with latest proxy.nlm)
    Server has 4 GB memory
    Additional Info: The server is patched with the latest TCP & Winsock patch for SP6.
    Latest Abend information
    Novell Netware, V6.5 Support Pack 6 - Internal Release
    PVER: 6.50.06
    Server BMMH01 halted Tuesday, 23 March 2010 10:57:37.119 am
    Abend 1 on P00: Server-5.70.06: Page Fault Processor Exception (Error code 00000000)
    Registers:
    CS = 0060 DS = 007B ES = 007B FS = 007B GS = 007B SS = 0068
    EAX = 1B8A5FFA EBX = 222E40A8 ECX = FFFFB5F6 EDX = 1B8A440A
    ESI = 1B8A4EB2 EDI = FFFFC73E EBP = 1B8A15E4 ESP = 8AE58E14
    EIP = 1195093C FLAGS = 00010012
    1195093C 385006 CMP [EAX+06]=?, DL
    EIP in PROXY.NLM at code start +000CC93Ch
    Access Location: 0x1B8A6000
    The violation occurred while processing the following instruction:
    1195093C 385006 CMP [EAX+06], DL
    1195093F 744C JZ 1195098D
    11950941 385007 CMP [EAX+07], DL
    11950944 7451 JZ 11950997
    11950946 83E908 SUB ECX, 00000008
    11950949 0508000000 ADD EAX, 00000008
    1195094E 83F908 CMP ECX, 00000008
    11950951 73CC JNB 1195091F
    11950953 0BC9 OR ECX, ECX
    11950955 7408 JZ 1195095F
    Running process: Server 11 Process
    Thread Owned by NLM: SERVER.NLM
    Stack pointer: 8AE58F60
    OS Stack limit: 8AE51020
    Scheduling priority: 67371008
    Wait state: 50500F0 Waiting for work
    Stack: 118CD415 (PROXY.NLM|PLD_ParseHTTPHeaders+435)
    --1B8A4EB2 ?
    --FFFFC73E ?
    --00000001 (LOADER.NLM|KernelAddressSpace+1)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --00000A6A (LOADER.NLM|KernelAddressSpace+A6A)
    --1327FA48 ?
    --0000000C (LOADER.NLM|KernelAddressSpace+C)
    --1B8A15E4 ?
    --222E40A8 ?
    1191031B (PROXY.NLM|SSLLoginWithFormDataCallback+36B)
    --00000001 (LOADER.NLM|KernelAddressSpace+1)
    --222E40A8 ?
    --1B8A15E4 ?
    --0000000C (LOADER.NLM|KernelAddressSpace+C)
    --8AE58E78 ?
    --8AE58EE4 ?
    1191DF79 (PROXY.NLM|tsw_ssl3_ReadRecord+239)
    --98994F6E ?
    --1560BD04 ?
    --1B8A15F0 ?
    1191DFD4 (PROXY.NLM|tsw_ssl3_ReadRecord+294)
    --1B8A15F0 ?
    --8AE58E78 ?
    --00000014 (LOADER.NLM|KernelAddressSpace+14)
    --0000000C (LOADER.NLM|KernelAddressSpace+C)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --3935A2FF ?
    --097478C7 ?
    --A1C483D4 ?
    --00000008 (LOADER.NLM|KernelAddressSpace+8)
    --00000014 (LOADER.NLM|KernelAddressSpace+14)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --00000001 (LOADER.NLM|KernelAddressSpace+1)
    --1B8A15F0 ?
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --00000028 (LOADER.NLM|KernelAddressSpace+28)
    --222E40A8 ?
    --00000028 (LOADER.NLM|KernelAddressSpace+28)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --0000000C (LOADER.NLM|KernelAddressSpace+C)
    --1327FA48 ?
    --222E40A8 ?
    11910D85 (PROXY.NLM|SSLRedirectDataCallback+235)
    --222E40A8 ?
    --00000028 (LOADER.NLM|KernelAddressSpace+28)
    --8AE58EE4 ?
    --00000003 (LOADER.NLM|KernelAddressSpace+3)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --898E039B ?
    --00000001 (LOADER.NLM|KernelAddressSpace+1)
    --00000028 (LOADER.NLM|KernelAddressSpace+28)
    --0000000C (LOADER.NLM|KernelAddressSpace+C)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --222E40A8 ?
    --00000017 (LOADER.NLM|KernelAddressSpace+17)
    --00000001 (LOADER.NLM|KernelAddressSpace+1)
    --1B8A15E4 ?
    --00004800 (LOADER.NLM|KernelAddressSpace+4800)
    --222E40A8 ?
    119078CD (PROXY.NLM|TSW_SSL_Read+2D)
    --1560BD04 ?
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --1B8A15E4 ?
    --1B8A15F0 ?
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --0000000C (LOADER.NLM|KernelAddressSpace+C)
    --0000000C (LOADER.NLM|KernelAddressSpace+C)
    --1B8A15E4 ?
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --222E40A8 ?
    1190EF88 (PROXY.NLM|SSL_V3_ServerDataReplyHandler+158)
    --222E40A8 ?
    -1197D604 (PROXY.NLM|rsSSL_V3_ServerWaitingForRequest+0)
    --1560BD04 ?
    --222E40A8 ?
    --0347E701 ?
    --0F78E700 ?
    118E9400 (PROXY.NLM|CallrsCallBacks+0)
    118E9454 (PROXY.NLM|CallrsCallBacks+54)
    --222E40A8 ?
    00362862 (SERVER.NLM|StartWorkToDo+23)
    --222E40A8 ?
    --0347E701 ?
    --0F78E700 ?
    --8AE18E30 ?
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    0021459A (SERVER.NLM|WorkerThread+4F6)
    --222E40A8 ?
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --8ADA5400 ?
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --8ADA5400 ?
    00221528 (SERVER.NLM|TcoNewSystemThreadEntryPoint+40)
    --8ADA5400 ?
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    --00000000 (LOADER.NLM|KernelAddressSpace+0)
    Additional Information:
    The CPU encountered a problem executing code in PROXY.NLM. The problem may be in that module or in data passed to that module by a process owned by SERVER.NLM.
    Kindly suggest.

    In article <[email protected]>, Dkeyur wrote:
    > Netware 6.5 SP6
    > BorderManager 3.9 SP2 (with latest proxy.nlm)
    > Server has 4 GB memory
    >
    > Additional Info: The server is patched with the latest TCP & Winsock
    >
    Is the above correct? If so, you are not even close to having the
    latest patches. (NW65SP8, not SP6). Adding late tcp and winsock
    patched to SP6 would probably cause problems.
    If you look over the abend messages, and some of them refer to an LSL
    component, it's very likely you need the wsock6o patch. (Check tip #1
    at the URL below).
    If you just typo'd the patch, and you are at sp8, at least try clearing
    the cache. Unload proxy, load proxy -cc.
    Craig Johnson
    Novell Knowledge Partner
    *** For a current patch list, tips, handy files and books on
    BorderManager, go to http://www.craigjconsulting.com ***

  • 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

  • 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 Leak issues

    Hello. I am having an issue with Flash 9 and wasnt sure if
    this needed to be posted in here or general. I figured that I would
    need some kind of code to fix this so I posted it in here.
    This is my issue..the typical dreaded memory leak problem.
    The project looks very similar to this:
    We have, say, 100 individual images in the library. Each
    image is an 800x600 jpg file. We create a layer and put each image
    on a frame. About every so many frames, (lets say frame 33 or frame
    66) we stop at that point and ask a question and wait for some kind
    of response from the user. If its the correct response, we continue
    on, if not, we just repeat the question till they get the answer
    correctly. There are also fscommands that send out to an external
    application if the user clicked the correct or incorrect answer at
    these points.
    However, this is causing a rather massive memory leak. I was
    wondering if there is a solution either by code or we are just
    doing something wrong, to help fix our memory leak issue. Some
    files in our projects are small enough to not notice it but we have
    one particular file that is around 500 frames of animation and you
    can imagine how hungry flash got with this one.
    Any suggestions?

    Lots of ideas:
    First thing? Check the File Free at Options > Status, what is the number at File Free? Now, remove the battery of your device, hold a minute, replace and reboot. What is the File Free now?
    Read this: http://www.blackberryforums.com/general-blackberry-discussion/116396-managing-your-bb-memory-lost-ca...
    And this: http://www.blackberryforums.com/general-blackberry-discussion/112029-losing-call-logs-sms-emails-opt...
    Additional links to read:
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB15345&sliceId=SAL_Pub...
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB14320&sliceId=SAL_Pub...
    http://www.blackberry.com/btsc/dynamickc.do?externalId=KB14213&sliceId=SAL_Public&command=show&forwa...
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Tuxedo Memory Leak Issue (Tuxedo 8.1 - Windows Server 2003)

    Hi
    We are running tuxedo 8.1, 32 bit with patch level 258 in our windows server 2003 based production environment. We are currently facing an issue where the memory usage of machine slowly keeps on going higher and higher eventually resulting in “Memory Allocation Failure” to tuxedo servers. We then have to do a complete restart of tuxedo which stabilizes the system for other few days.
    We have been analyzing the our source code in development/test environment using different tools like a customized Alzheimer tool and IBM purify but both tools reported no memory leaks. We then developed a test tuxedo server exposing a tuxedo service which simply allocates a memory to a response buffer and then returns the response buffer. I then configured tuxedo queue with same name “MEMTEST3” and configured a TMQForward server to call this “MEMTEST3” service every time a message is en-queued to the MEMTEST3 queue.
    unsigned long _LIBENTRY ulTPAlloc(FBFR32 **ppc, long size)
    unsigned long ulRes = MSG_SUCCESS_c;
    ppc = (FBFR32 ) tpalloc("FML32", (char *) 0, size);
    if (*ppc == (FBFR32 *) 0) {
    vLogMessage(hGetLogHandle(), MSG_MEM_ALLOC_ERR_c, (char *) 0, (Event_t *) 0,
    BM_NOSUPPRESS_c, size);
    ulRes = MSG_MEM_ALLOC_ERR_c;
    return (ulRes);
    /*==============================================================================
    Service MEMTEST2
    ==============================================================================*/
    void MEMTEST3(TPSVCINFO *pRequest)
    FBFR32 *pFmlResponse = NULL;
    FBFR32 *pFml = NULL;
    unsigned long ulRes = MSG_SUCCESS_c;
    unsigned long ulActionCode = 0;
    int iExitValue = 0;
    long lTpurcode = 0;
    FBFR32 *pFmlNULL = NULL;
    userlog("Starting MEMTEST3 service.");
    if (pRequest == NULL || pRequest->data == NULL)
    vLogMessage(hGetLogHandle(), MSG_API_ARGS_ERR_c, NULL, NULL, BM_NOSUPPRESS_c);
    ulRes = MSG_API_ARGS_ERR_c;
    else
    pFml = (FBFR32 *) pRequest->data;
    userlog("MEMTEST3: GET THE MEM");
    ulRes = ulTPAlloc(&pFmlResponse, 1024);
    userlog("Ending MEMTEST3 service.");
    tpreturn( iExitValue, lTpurcode, ( char * ) pFmlResponse , 0L, 0L );
    While I was en-queuing the messages to the queue, I kept on monitoring the memory usage of the server hosting the service. What I observed was that I saw an initial hike in the usage of memory of the server followed by small jumps in memory increase. I kept on monitoring the server for a long time and the memory was never returned. What I suspect is that there is memory leak in tuxedo TMQforward process as it never released the memory allocated in the service.
    Can anyone help how this situation can be avoided ?
    Kind Regards,
    Asim

    Hi Todd,
    Also as well as my previous question, I also found your reply to another user posting something similar at Re: Memory leaks in Tuxedo libraries
    You mention that:
    In general Tuxedo will free anything it allocates, although there are cases where memory is allocated and not freed because:
    +1) it is one time or a fixed number of times allocations that will not continue to grow, and freeing up the memory just before exiting isn't of any benefit.+
    +2) the memory is under Tuxedo's memory management functions where we manage our own look aside lists to provide better buffer allocation performance and again freeing these before process termination is of little benefit.+
    Our code does only issue TPALLOC once and then a TPRETURN - could point (1) of your comment above also be something of concern to us, where we would observe a continuous growth of memory usage?
    I know it may sound like a stupid question but do we need to run our code 20,000 times before memory gets freed?
    Kind Regards,
    Asim

  • SQL Server 2012- Memory Leak Issue

    Team,
    We are running a Mission Critical Application on SQL Server 2012 SP2(11.0.5058) which is configured on Always ON Synchronous mode. Offlate due to heavy development work, Application team have come up with stating memory issues. I have analysed all the areas
    and everything looks normal. Please suggest if we have to patch the latest CU4 for SQL Server 2012 SP2. 
    The checks were performed on the below areas:
    - Errorlog, System Logs - No errors reported.
    - There are close to 8 Databases hosted on the instances which are all configured for AlwaysON. SQL Server is running on VM Infrastructure and the total physical memory allocated is 96GB out of which SQL is capped for 92GB. 
    -The Page Life Expectancy is healthy and is showing a greater number. There are no Signal waits either or pending memory grants. 
    - The writes are more than reads for one of the databases which is flagged with application team. There are no blockings & Deadlocks.
    Please suggest me the future course of action and your inputs are much appreciated.
    Best Regards,
    Sharath 

    Actual issue is- Application team have reported a memory leak and their builds have significantly slowed down. They suspect that its Database memory leak. However I have verified from database end and gave the above inputs. 
    The AOAGs are good. I was looking for any pointers whether there are any bugs which is related to memory leaks in SQL Server 2012.  I know all of them are addressed with SQL Server 2012 SP2. 
    Application team has NO idea about SQL Server do they ? And to say SQL Server has memory leak you have to actually prove it did they showed any proof. Its common for application team to say SQL Server is leaking memory because they are unaware about fact
    by default SQL Server would take as much memory as possible and would release when SQLOS asks it to do so. This might give sign that it is leaking memory BUT IT IS NOT.
    As you already said AOAG is working fine so I am presuming there is nothing much to worry. To monitor memory usage in SQL Server 2012 you can use below counters
    SQL Server: Memory Manager-- Target Server Memory (KB)
    SQL Server: Memory Manager--Total Server Memory (KB)
    SQL Server: Memory Manager- Free Memory (KB)
    SQL Server: Memory Manager--Database Cache Memory (KB)
    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

  • Memory Leak Issue in OBIEE 11g

    Hi,
    We have OBIEE 11.1.1.5 installed on a 32-bit Windows Server. We had almost 10GB of free space yesterday, but after a few users logged in, the free space started coming down until we were left with no space at all.
    Since then we have removed all the files that we could and created more and more space, but OBIEE seems to be eating it all up. I have seen a few posts for such issues with the Linux Systems. Has anyone faced this with windows? Also, is there any solution for this.
    Thanks,
    Naman

    Hi Naman,
    Oracle has provided set of patches to avoid memory leaks.
    1) For memory leak with OPMN, apply the following patches:
    Patch:12920592: OPMN HAS MEMORY LEAK
    Patch:12989751: OPMN MEMORY STILL GAINS AFTER APPLYING PATCH#12920592
    2) For the Presentation Server (sawserver) issue, apply the patch:
    Patch:13102881: DATALAYOUT METADATA IMPLEMENTATION HEAP INTENSIVE
    Rgds,
    Dpka

  • OBIEE 11.1.1.5 Memory Leak issues

    Hardware: 64 bit Red Hat Linux Enterprise server 5.2(Tikanga)
    Software: OBIEE 11.1.1.5 64 bit
    Issue: The memory usage on the server slowly creeps up and occupies almost all of the available memory, then starts swapping.
    In our case we have a 48GB RAM 2CPU Linux box on which OBIEE 11.1.1.5 was installed and once we startup Weblogic Server, NodeManager, Managed Server, and OPMN, the memory usage starts at ~4GB and slowly creeps up to ~45GB. The processes do not release the memory back even after shutting down all the services (OPMN, Managed Server, Weblogic Server and Node Manager).
    The memory is released only after the Linux box is rebooted.
    We have the same software on different boxes which have 8GB RAM and the behavior is same there too. It occupies all of 8GB RAM and then swaps over another 4GB space. Is there a software leak with OBIEE 11.1.1.5 or is it a configuration issue?
    We found similar issues reported in forums at Memory Leak on OBIEE webserver 11G (linux version) But there was no resolution.

    All,
    We're having a similar issue, or at least we think we are on our 64-bit VM Windows environment, running OBIEE 11.1.1.3. Our PROD environment was OS level patched last Tuesday and rebooted, and now it's super slow and using way more RAM than before. Even if we reboot the server, our Managed server (bi_server1) is not working properly. Basically in DEV the Admin and Managed servers are using around 900 MB or RAM, in our PROD env that isn't working properly, the Admin server seems fine at about 900 MB of RAM, but our Managed server is up around 1.4 GB and now taking about 45 minutes to start instead of around 6. We also logged an SR about a week ago to no avail so far, and as you said, it's been going back and forth with the OBIEE and WebLogic teams. If anyone knows anything about this it would be great to hear it!
    Thanks,
    Josh
    Edited by: JFuter on Aug 24, 2011 1:39 PM

  • How to configure license file for Memory Leak tool and WL Server 9.2?

    (I posted to general JRockit forum before realizing existence of this forum which is probably more applicable.)
    Here's our problem:
    Running latest version of WL 9.2 MP3 and JRockit Mission Control 3.0.1
    Able to run Mission Control, and connect to the WL Server and to run View Console with no problems.
    I can't get Memory Leak tool to run because it complains about needing a license file.
    First I tried with off the shelf WL 9.2 MP3.
    Get error:
    A license for Memory Leak Detector could not be found on the JRockit at (1.5) weblogic.Server (192).
    Error: Can not find component Memory Leak Detector for JRockit * in the license file. Please check http://www.jrockit.com/license for license updates.
    So I downloaded license file from JRockit download site - wls92.zip. It contains several files, but no clear instructions on what to do with these files. I copied one of these files "LIC-WLSP92.txt" to my JRockit home as C:\bea\JROCKI~1\jre\license.bea
    Tried again. Restarted WL server. Restarted JRockit Mission Control.
    Get error: A license for Memory Leak Detector could not be found on the JRockit at (1.5) weblogic.Server (3052).
    The license file does not exist at: C:\bea\JROCKI~1\jre\license.bea
    Any advise on how to install license or who to contact for help?

    Installed Mission Control 3.0.3.
    Got following message when I attempted to run Memory Leak:
    A license for Memory Leak Detector could not be found on the JRockit at (1.5) weblogic.Server (192).
    Error: Can not find component Memory Leak Detector for JRockit * in the license file.
    Please check http://www.jrockit.com/license for license updates.
    I believe that we're using the latest downloads of WebLogic 9.2.x and JRockit.
    WebLogic is running using 9.2.3 and JRockit build R27.4.0-90_CR358515-94243-1.5.0_12-20080118-1154-windows-ia2
    Contents of C:\bea\jrockit_150_12\jre\license.bea:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <bea-licenses>
    <license-group format="1.0" product="JRockit" release="*">
    </license-group>
    </bea-licenses>
    Could WebLogic be misconfigured?
    Any diagnostics to help figure out the licensing?
    Any other ideas?

  • Memory Leak issue 1.5.4.59.40-no-jre  jdk1.6.0_12  jre6

    Me and 2 other develops have been using SQL developer since it was created but we are getting really frustrated with the memory leaks we are experencing.
    We will start up sql developer and if we just leave it alone within a couple hours it will have taken up 650Megs of ram and be completely locked up. If we are working in sql developer the time can be even faster till it lockups up. We have been experencing the issue for very long time but seems to have gotten worse in the last to updates.
    I have tried to search the web and form for information to the memory problem to no avail. We are running oracle 10g and windows XP with 2gigs of ram.
    Can some one point me to some information or have any idea what is going on?
    Edit--
    I just realized that I was not using the latest version that I have downloaded. Trying sqldeveloper-1.5.4.59.40-no-jre will advise as to results.
    Edited by: ObeTheDuck on Mar 17, 2009 8:47 AM
    2nd Edit--
    1.5.4.59.40-no-jre has the same issue. 2hrs and it has locked up and is no longer listed as a running app and can only be seen under the process thread in windows task manager with 50% CPU use on a dual-core cpu and 626megs ram being used. Have to kill and restart ... <sigh>
    Edited by: ObeTheDuck on Mar 17, 2009 10:45 AM

    Thanks for the info so far....
    We really do like sql developer as a tool and has been execeding helpful and useful as our development tool.
    I am proud to say we have been using it since the 2nd month is was available and have been encourged and happy with most of the improvements.
    I am looking forward to trying the modeling tool soon.
    If I can get back to having a stable work enviorment for a work day that will be fine for now. It's just been reduced down to 2hrs which is a bit much.
    Anyway...
    1. We don't have any in house extentions that we need. I am speaking of the one that come bundled with the tool. Or at least I thought that they came bundled.
    Several are migration tools which we don't need. One is TenTime tool which I don't think we need.
    Last is the versioning extention, this sounds like something we want to use, but stability is more important at the moment. So unchecked they have all been.
    2. Sue you asked about a clean install. Is that simply an unpacking a new folder copy and then not migrate settings when running?
    3. I will be glad to uninstall java a switch to different version of the jdk which one is consider to be the most stable atm?
    Thanks,
    Obe

Maybe you are looking for