Firefox has extreme memory leak

After using Firefox for several hours, it begins consuming more than 500mb of memory.
== This happened ==
Every time Firefox opened
== I began using Firefox 3.3.6

Hello everyone.
This problems are not, in 99,9% of the cases, Firefox's fault. Rather, they are caused by problematic add-ons or third party software. But you do need to diagnose what your exact problem is. Do this:
#run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe-mode] to disable all extensions, themes and plugins. If this fixes your issues, be them with RAM or CPU usage, then you know it's a problem with plugins, themes or extensions. Proceed to number 2. If safe-mode doesn't fix the issues, then read bellow, after this list;
#update all extensions, themes and plugins in your Firefox. If this doesn't solve the issues, proceed to the following number;
#disable all extensions, themes and plugins in your Firefox (not running safe-mode). Being certain that, as in safe-mode, the problems you're having have gone away, enable one plugin at a time. You should be certain that you WANT that plugin to be enabled, so keep your overall number of plugins as low as possible. When you encounter the problems, you know you've found a problematic plugin, so disable it for good. Keep enabling all plugins (except problematic ones) until you've gone through them all.
#enable one extension at a time. Again, be certain that you WANT that extension to be enabled, so keep your overall number of extensions as low as possible. Also, try the theme you want to have installed so see if that is what's causing the problem. When you encounter the problems, you know you've found a problematic extension/theme, so disable it for good. Keep enabling all your extensions (except problematic ones) until you've gone through them all;
#you're done! You've fixed your problems with problematic add-ons. If you want to keep using those problematic add-ons, please contant their author for support.
Ok, if disabling all extensions and plugins through safe-mode didn't work to bring Firefox's CPU and RAM usage to good levels, then you have different issue. The most likely scenario is that you have a third party software running on your computer that is messing with Firefox. Do as follows:
#try reinstally Firefox. No data will be lost. You can get the latest version for free at [http://www.getfirefox.com/ getfirefox.com]. If that doesn't fix the problem, proceed;
#do a virus/malware check on your computer. If this doesn't fix it, proceed;
#disable all software running in the background that you don't want to have running in the background (in windows, this is done by pressing WINDOWS+R in your keyboard, typing "msconfig" (without the commas) and pressing enter. Now, under the "Startup" tab, you can uncheck the software you don't want, and reboot your system for changes to take effect. If you're unsure of what software you want running, ask someone with more experience). If this doesn't fix your issues with Firefox, proceed;
#check your firewall/antivirus/security suite for enabled functions/features that you don't want and/or may be conflicting with Firefox. You'll find that these features are most likely tied to Internet Security features, such as link scanners or URL checkers and the like. If you're not sure they are conflicting with Firefox, simply try to disable them to see whether or not that's true. As long as you don't browse the web with your antivirus completely off and your firewall completely turned off, there should be no problems. If this doesn't solve the issues, proceed to the following number;
#check your operating system security options, mainly advanced options that are not configured by default. While it's very unlikely that this may be the cause of the problem (after all, it's the last item on the list), it's remotely possible. If this doesn't work, proceed to the following point;
#clean up your OS registry, using appropriate software. If this doesn't do it, I'm out of ideas. Except make sure you've followed my instructions correctly.

Similar Messages

  • Firefox has a memory leak and I need to update it, but I want to keep 3.5 because I don't like how the newest version of Firefox is set up.

    My computer is running low on RAM, and when I look at what processes are using the most memory, firefox is the number one using between 28,000 to 93,000k, so I'm guessing that it has a memory leak.
    And because of that memory leak I have to update firefox, however I really dislike the newest version of firefox and I'd prefer to stick with the version I have, which is 3.5.

    Often the memory problems are not just from Firefox in isolation, but partly relating to all the extensions available for it and then the videos and animations it runs on media rich sites.
    The first thing to do is to upgrade to firefox 3.6 which is at least a supported version (Maybe not for much longer)
    * see [[updating firefox]]
    Next version after 3.6 is 4, you should avoid that, it did have some memory problems, that were worse than 3,6 and firefox 4 is no longer secure or supported.
    The techies at Firefox have been working on memory problems recently and have made many improvements, but some of these improvements are only seen in the trial versions of Firefox.
    I would in fact suggest you upgrade to Firefox 5 the current release version (soon to be replaced with Firefox 6)
    I am able to run Firefox v3.6 to v8 on legacy XPs with less than 1GB RAM. Firefox in itself is not necessarily very demanding in terms of RAM. I am not sure what the figures are you are quoting, or whether they are high. ( Note 1Gb is in the order of 1 000 000 k )
    As for not liking the set-up of new versions of Firefox, there is quite abit that can be changed, maybe you would be able to configure it more to your liking with little effort.

  • Firefox 21.0 on OS X 10.8.4 still has a memory leak that occurs with no Add ons, 1 tab and leads to 3GB of memory usage in 10 minutes.

    While using Firefox 21.0 on OS X 10.8.4 with 4GB RAM, Firefox memory usage marches up and up until at 3GB (on my iMac) Firefox hangs and is 100% non-responsive and must be killed with Force Quit. It takes 10 minutes to occur.
    No Add Ons
    One tab

    John99,
    Unfortunately, the problem was WORSE in FF 22.0. I regressed to FF21.0 and shut off automatic updates. I may even go back to FF3.6, which is the last one where I didn't see this problem.
    Thank you for trying but as a longstanding developer I know that pervasive memory leaks is a sign of a broken development process. Thank you for trying...

  • Firefox 4.0 RC has huge memory leak + slow down problem

    Firefox 4.0 RC Seems to have a huge memory leak issue. After leaving the program open for around half an hour the RAM usage climbs to over 1 gb.
    However, I have 12 gb of physical ram, so firefox staking 1 gb for itself is not too big of a problem (and is probably a blessing as it means it's caching more data), but the problem is that the UI begins to slow down and become clunky after about 30 minutes.
    Browsing, switching tabs, even typing becomes jittery and not very responsive.
    This happens regardless of how many tabs I have open.
    Now it's also crashing every once in a while.

    Even with Firefox 4.0 (Release) running in Safe Mode, with all add-ons and themes disabled, I'm still inclined to think there's something screwy going on here.
    I was watching Page Faults/sec, Page File Bytes and Working Set in Performance Monitor and tailing the Privoxy log for requests. Even with Firefox minimized and "doing nothing" (making no requests, anyway), over the space of a 10 minute period the Working Set grew from 244,375,552 bytes to 274,939,004 bytes (averaging 50,939 bytes/second). This behaviour doesn't seem consistent though - sometimes it doesn't seem to grow at all.
    Additionally the Page Faults/Sec went nuts, accompanied by a step in Page File Bytes and Working Set, whenever a request got made to http://safebrowsing.clients.google.com/safebrowsing/downloads which seems to happens on a regular basis (approximately every 30 minutes).

  • Wpg_docload.download_file slow (or has a memory leak)

    Hi, (Maybe this should be in the pl/sql forum, but since this is so much used in Apex and I ran into this problem there, I decided to post it here).
    There seems to be a memory leak or some other issue with using wpg_docload.download_file
    I have a couple of pages that show many images (50+, icon sized) . And usually a few days after restarting the Oracle http server, I see the image rendering becoming extremely slow (and usually most images timing out.)
    So in all my procedures using :
    wpg_docload.download_file ( lob_loc );
    I switched it out for :
    declare
    buffer raw ( 32000 );
    buffer_size integer := 32000;
    offset integer := 1;
    begin
    while offset < v_length loop
    dbms_lob.read ( lob_loc, buffer_size, offset, buffer );
    htp.prn ( utl_raw.cast_to_varchar2 ( buffer ) );
    offset := offset + buffer_size;
    end loop;
    end;
    And the speed increase in image loading was phenomenal, I am looking at over 10x speed recieving the image data from the webserver.
    Is there a known bug with wpg_docload.download_file in 10.2.0.2?
    But anyways, if anybody else is running into this slowness, then by all means, try out this workaround.
    Regards
    Oli
    edit:
    There seems to be one other thing that matters in the resulting speed of the image retrieval. I used mod_rewrite to make the images look like /icon/1235.jpg
    and after further testing, this seems to be the catalyst for image retrieval. Not the wpg_docload.download_file
    Message was edited by:
    Oli

    Oli,
    Image retrieval for something.jpg is faster then proc?id=1234That fits in with my theory, browsers often will not rely on a cached version for a URL that contains a parameter (after all, how would the browser know whether the URL is going to return the same data or not even if the parameter is the same?). When you request a particular file (i.e. something.jpg then the browser can use the cache since you have requested a particular file, as opposed to calling a 'procedure/function'.
    This is definetly a browser issue, and it has nothing to do with cacheYou browser has a cache and can use it if it wishes to, so I would still suspect it is related to caching (or lack of caching).
    I would suggest producing the smallest possible test case you can so that the behaviour you describe can be demonstrated.

  • Firefox 17 huge memory leak

    Since the last update today, Firefox seems to got a huge memory leak. After one hour idle on some pages it was up to 750MB memory usage, and constant 100% load of one CPU core.
    Looks like something is not going well with the garbage collection, if I visit http://www.robertsspaceindustries.com/forums/forum/forum-category-2/ for example.
    Had to disable the graphic hardware acceleration, because of the newly introduced "clear type" font bug.
    Edit: May also be related to mail.google.com, which I have running in an app tab.

    For what it's worth, I had exactly the same problem (except that it's on Linux) since the upgrade to 17.0. When I disabled greasemonkey, the problem instantly disappeared, so it looks like the compatibility with greasemonkey got broken.
    Likewise, I'm very disappointed with the frequent bugs/annoyances that come with the rolling upgrade system; I find myself more and more using Chromium because of it. Mozilla really needs to give people the option to run a stable branch that receives security updates only.

  • Firefox 3.6 has a memory leak with Winamp Toolbar on Windows 7

    I recently installed the Winamp Toolbar and everytime I closed FF, it would hang and stay open and my CPU would be 100%. The only way to shut it down was thru the task manager. It took me some time to figure out exactly what the problem was but after uninstalling just the Winamp Toolbar, FF closed smoothly. So, im pretty positive it has to do with Winamp Toolbar. I have contacted Winamp but with no response.
    I am running Windows 7 Premium Home Edition (64-bit) and Firefox 3.6.10.

    I wanted to add that I've been having this problem as well.
    I believe it is not OS specific, because I've been having this both on my XP & my windows 7 ( both 32bit home editions).
    I can add that just disabling the addon suffices to prevent the problem. But if you can't use it, you're better of uninstalling it anyway

  • Version 23.0 on Windows 7 64 bit has major memory leak issues, how do I fix or revert to version 22?

    Upon updating to version 23.0.1, the memory usage on Firefox routinely runs over 1GB and eventually causes me to restart the application. This is directly linked to an upgrade in August to version 23.0.1, I would like to either downgrade or fix the problem with 23. IF this is an issue with plug-ins, how do I determine that? My problem is that this only started occurring after I installed version 23, so I have to assume it was caused by that and not by some plug in as those have not changed.
    Was the application regression tested against all plug-ins to ensure these issues did not occur?

    Hello,
    The first thing I suggest is updating your Firefox to v24 (the latest version). Every new version of Firefox brings bug fixes and security updates. It maybe that whatever is causing high RAM usage will be solved by the update.
    [[Update Firefox to the latest version]]
    If you find that the problem is still occurring in v24 then please see the support article here:
    [[Firefox uses too much memory (RAM) - How to fix]]
    This has various tips on diagnosing and fixing high RAM usage issues.
    I particularly suggest that you try:
    * Updating plugins
    * Checking your extensions and themes to see if any of these are to blame
    * Trying the memory troubleshooting tools (about:memory)
    I hope that helps. Let me know if not.

  • Java.awt.Dialog in Java 1.6 has a memory leak

    When a modal Dialog opens a modal sub-dialog, the Dialog stays in memory after both the sub-dialog and the Dialog itself is disposed.
    The field that contains the leaked object is Dialog.modalDialogs (static). The methods which causes the leak are Dialog.modalHide and Dialog.modalShow.
    Whenever a modal Dialog is opened, Dialog.modalShow is called, and adds itself to Dialog.modalDialogs.
    When it closes, Dialog.modalHide is called and removes one copy of itself from Dialog.modalDialogs. Then Dialog.modalShow is called on all previously blocked modal dialogs. When the sub-dialog is opened and closed, Dialog.modalDialogs contains two references to the main Dialog, and only one of them is removed when Dialog.modalHide for that Dialog is called.
    To detect the leak, just put a break point in Dialog.modalHide, after modalDialogs.remove(this);. When opening a Dialog and closing it without opening a sub-dialog, the Dialog.modalDialogs field should be empty. When a sub-dialog was opened and closed before the main Dialog is closed, the Dialog.modalDialogs field contains a reference to the disposed main Dialog.
    This leak does not exist in 1.5.0_10 (no Dialog.modalDialogs field). I have searched the bug database, but I have not found this bug there. Could anyone confirm this?
    A simple code to reproduce the leak:
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowEvent;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    public class Test {
       public static void main(String[] args) {
          final JFrame frame = new JFrame() {
             protected void processWindowEvent(WindowEvent e) {
                super.processWindowEvent(e);
                if (e.getID() == WindowEvent.WINDOW_CLOSING) {
                   System.exit(0);
          JButton button = new JButton("Dialog");
          button.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent aE) {
                JButton subButton = new JButton("SubDialog");
                subButton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent aE) {
                      JOptionPane.showMessageDialog(frame, "SubDialog");
                JOptionPane.showMessageDialog(frame, subButton);
          frame.getContentPane().add(button);
          frame.pack();
          // Center the window
          Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
          Dimension frameSize = frame.getSize();
          if (frameSize.height > screenSize.height) {
             frameSize.height = screenSize.height;
          if (frameSize.width > screenSize.width) {
             frameSize.width = screenSize.width;
          frame.setLocation((screenSize.width - frameSize.width) / 2,
                (screenSize.height - frameSize.height) / 2);
          frame.setVisible(true);
    }

    Sorry, I just found the bug in the bugdatabase (with google of course,):
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6497929]

  • Firefox+gtk2.6= memory leak

    i have just upgraded gtk 2.6, and when firefox cannot connect to some site,all my RAM  and all my swap are full and i must kill X   :evil:  :evil:  :evil:

    Thanks very much.
    Here is the result, I started then tried to go to www.radioshack.ca/, clicked on a language and crash:
    *** Registering nsBrowserCompsModule components (all right -- a generic module!)
    nsNativeComponentLoader: autoregistering succeeded
    [New Thread -1259160656 (LWP 28639)]
    nNCL: registering deferred (0)
    nNCL: registering deferred (0)
    nNCL: registering deferred (0)
    GFX: dpi=92 t2p=0,0625 p2t=16 depth=24
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    ++WEBSHELL == 1
    WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsPermissionManager.cpp, line 623
    [New Thread -1268126800 (LWP 28640)]
    [New Thread -1276523600 (LWP 28641)]
    ++DOMWINDOW == 1
    ++WEBSHELL == 2
    ++DOMWINDOW == 2
    /opt/mozilla-firefox/lib/firefox-1.0/chrome/en-US.jar mtime changed, invalidating FastLoad file
    Note: styleverifytree is disabled
    Note: frameverifytree is disabled
    WARNING: the property eo already exists
    , file nsPersistentProperties.cpp, line 282
    Note: verifyreflow is disabled
    [New Thread -1285370960 (LWP 28642)]
    WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file nsUNIXCharset.cpp, line 189
    WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file nsUNIXCharset.cpp, line 189
    ++WEBSHELL == 3
    ++DOMWINDOW == 3
    (no debugging symbols found)
    [New Thread -1293984848 (LWP 28643)]
    [New Thread -1302377552 (LWP 28644)]
    (no debugging symbols found)
    ++WEBSHELL == 4
    ++DOMWINDOW == 4
    frame: DocElementBox(dialog)(-1) (0x8726858) style: 0x87267d8 {}
    Has parent context:  style: 0x8726578 :-moz-canvas {}
    Should be null
    [Thread -1293984848 (LWP 28643) exited]
    WARNING: nsTimeoutImpl::Release() proceeding without context., file nsGlobalWindow.cpp, line 5518
    --WEBSHELL == 3
    CSS Error (http://www.google.ca/firefox?client=firefox-a&rls=org.mozilla:en-US:official :3.315): Selector expected.  Ruleset ignored due to bad selector.
    CSS Error (http://www.google.ca/firefox?client=firefox-a&rls=org.mozilla:en-US:official :4.0): Unexpected end of file while searching for closing } of invalid rule set.
    ###!!! ASSERTION: View is hidden but widget is visible!: '!visible', file nsViewManager.cpp, line 1685
    Break: at file nsViewManager.cpp, line 1685
    --DOMWINDOW == 3
    ###!!! ASSERTION: font metrics should not be null - bug 136248: 'NS_SUCCEEDED(rv)', file nsDeviceContext.cpp, line 668
    Break: at file nsDeviceContext.cpp, line 668
    ###!!! ASSERTION: no font metrics: 'nsnull != aFontMetrics', file nsHTMLReflowState.cpp, line 2100
    Break: at file nsHTMLReflowState.cpp, line 2100
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread -1219352896 (LWP 28636)]
    0xb64330f0 in nsHTMLReflowState::UseComputedHeight () from /opt/mozilla-firefox/lib/firefox-1.0/components/libgklayout.so
    Hope it helps

  • Does OutputStream.write() has a memory leak on Linux?

    I write a piece of java code to create 500K small files (average 40K each) on CentOS. The original code is like this:
         package MyTest;
         import java.io.*;
         public class SimpleWriter {
    public static void main(String[] args) {
      String dir = args[0];
      int fileCount = Integer.parseInt(args[1]);
      String content="@#$% SDBSDGSDF ASGSDFFSAGDHFSDSAWE^@$^HNFSGQW%#@&$%^J#%@#^$#UHRGSDSDNDFE$T#@$UERDFASGWQR!@%!@^$#@YEGEQW%!@%!!GSDHWET!^";
      StringBuilder sb = new StringBuilder();
      int count = 40 * 1024 / content.length();
      int remainder = (40 * 1024) % content.length();
      for (int i=0; i < count; i++)
       sb.append(content);
      if (remainder > 0)
       sb.append(content.substring(0, remainder));
      byte[] buf = sb.toString().getBytes();
      for (int j=0; j < fileCount; j++)
       String path = String.format("%s%sTestFile_%d.txt", dir, File.separator, j);
       try{
        BufferedOutputStream fs = new BufferedOutputStream(new FileOutputStream(path));
        fs.write(buf);
        fs.close();
       catch(FileNotFoundException fe)
        System.out.printf("Hit filenot found exception %s", fe.getMessage());
       catch(IOException ie)
        System.out.printf("Hit IO exception %s", ie.getMessage());
    You can run this by issue following command:
      java -jar SimpleWriter.jar my_test_dir 500000
    I thought this is a simple code, but then I realize that this code is using up to 14G of memory.  I know that because when I use free -m to check the memory, the free memory kept dropping, until my 15G memory VM only had 70 MB free memory left.  I compiled this using Eclipse, and I compile this against JDK 1.6 and then JDK1.7. The result is  the same.  The funny thing is that, if I comment out fs.write(), just open and close the stream, the memory stabilized at certain point.  Once I put fs.write() back, the memory allocation just go wild.  500K 40KB files is about 20G.  It seems Java's stream writer never deallocate its buffer during the operation.
    I once thought java GC does not have time to clean.  But this make no sense since I closed the file stream for every file.  I even transfer my code into C#, and running under windows, the same code producing 500K 40KB files with memory stable at certain point, not taking 14G as under CentOS.  At least C#'s behavior is what I expected, but I could not believe Java perform this way.  I asked my colleague who were experienced in java.  They could not see anything wrong in code, but could not explain why this happened.  And they admit nobody had tried to create 500K file in a loop without stop.
    I also searched online and everybody says that the only thing need to pay attention to, is close the stream, which I did.
    Can anyone help me to figure out what's wrong?
    Can anybody also try this and tell me what you see?
    BTW, some people in online community tried the code on Windows and it seemed to worked fine.  I didn't tried it on windows.  I only tried in Linux as I thought that where people use Java for.  So, it seems this issue happened on Linux).
    I also did the following to limit the JVM heap, but it take no effects
        java -Xmx2048m -jar SimpleWriter.jar my_test_dir 500000

    Good point, I actually run cat /proc/meminfo. And I got the following.  Why I have so big of Inactive(file) allocation?
    MemTotal:       15239492 kB
    MemFree:           83424 kB
    Buffers:           76012 kB
    Cached:         13920152 kB
    SwapCached:            0 kB
    Active:           391104 kB
    Inactive:       14181268 kB
    Active(anon):     288124 kB
    Inactive(anon):   288268 kB
    Active(file):     102980 kB
    Inactive(file): 13893000 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:        500432 kB
    SwapFree:         500432 kB
    Dirty:           2568700 kB
    Writeback:          6064 kB
    AnonPages:        576292 kB
    Mapped:             9884 kB
    Shmem:               140 kB
    Slab:             472340 kB
    SReclaimable:     421692 kB
    SUnreclaim:        50648 kB
    KernelStack:        1192 kB
    PageTables:         4132 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:     8120176 kB
    Committed_AS:     835900 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:       38908 kB
    VmallocChunk:   34359687700 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:         0 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    DirectMap4k:    15728640 kB
    DirectMap2M:           0 kB
    BTW, my test used up all the memory again, and free -m show this
                 total       used       free     shared    buffers     cached
    Mem:         14882      14805         76          0         80      13583
    -/+ buffers/cache:       1142      13740
    Swap:          488          0        488
    Any hint what's going on?

  • Firefox 6.0 has memory leak

    Firefox 6.0 (release) has a memory leak.
    Tested with 5 windows and 43 pages loaded and left overnight, it crashed after several hours. Able to fully repro this every time.
    I left it for 10 mins after all pages loaded. I opened Task Manager and I can see the Memory (Private Working Set) increasing every few seconds.

    Well I'm using 7 beta and my memory usage is just short of 600,000k with plugin container using another 220,000k. There is a massive problem with this!

  • Firefox 4.0b13pre (2011-03-11) on Linux appears to have a memory leak.

    FireFox with 12 tabs open (cnn, msnbc, the.register.co.uk, slashdot, biowar, infoworld, facebook, ebaumsworld, chase online, housereparitalk, meritline, and chicagobusiness) has a memory leak and, before a restart, had used almost 3GB of resident memory. The CPU utilization (4 cores) had gone up to almost 7. Unfortunately, I'll have to go back to Chrome until this bug is fixed as I can't have this affecting my machine like this.

    It would be helpful if Mozilla could provide a memory profiling tool that would help us civilians track down memory problems either in the core products or in extensions. The suggestions to create new profiles, re-add extensions, and do A/B (C/D/E) testing along the way, while accurate, aren't practical when we discover that FF 4 on Win 7 is using north of 1GB of memory.

  • 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 with multi-threaded environment

    When starting an environment with the THREADED_MUTEXED
    or THREADED_UNMUTEXED mode parameter, the oracle OCCI API
    has a memory leak. This can be demonstrated by modifying
    the "occidml.cpp" demo program as follows:
    Replace line 26:
    env = Environment::createEnvironment (Environment::DEFAULT);
    with
    env = Environment::createEnvironment (Environment::THREADED_MUTEXED);
    And replace line 164:
    demo->displayAllRows();
    with
    for (int ii=0; ii<10000; ii++) demo->displayAllRows();
    Recompile and run the program, and use "top" to see the
    size of the process's used memory continually increase
    unbounded.
    I am using the Oracle 9.2.0.1.0 database on Linux,
    gcc version 2.96.
    Is anyone aware of a fix for this problem?

    Yeah, I did suffer from this.
    If possible , you can switch to using OCCI on Oracle 10G client , you will find no memory leak issue anymore.
    Another issue is that OCCI is using default connection-blocking implementation , if a DB connection is blocked by accident just like plugging out the network link, you can not get any timeout or connection closed indications. You must implement your own OCCI connection timeout strategy, and you must kill the thread/process you are using.

Maybe you are looking for

  • How can I make my MacBook Pro wake up faster?

    Dear all, I have a MacBook Pro 13" Mid 2012. It is awfully slow when waking up after being in sleep mode for a long time (> 1 h). I read that other people here in the community are having the same trouble, and that it seems to be related to the stand

  • 10g Express Edition on Windows 2008 Enterprise R2 x64 with Active Directory

    I have successfully installed the 10g Express Edition on Windows 2008 Ent. r2 x64 with Microsoft Active Directory Domain Controller but i could not be able to run http://127.0.0.1:8080/apex Although i have run the http://127.0.0.1:8080/apex on my ano

  • Samsung 906bw displaying greenish looking whites

    I cannot get the color on the 906 bw monitor to display properly. all the colors have a strange look to them, and the whites show up with a sort of greenish hue. samsung directed me to apple, and apple directed me back to samsung. nobody seems to kno

  • Using like operator with attributes in select command

    Hi, I have a table with the attributes as DID, PNO,AGE, DEPARTMENT, DATEOFADM, CHARGES, ADDRESS, DOD I want to display the records with the months in DOD and DATEOFADM same. How can I do so? I also want to do the same with the dates in the 2 attribut

  • HR Structural Authorization DSO's

    Hi, I have developed HR module for the first time. I need to create the authorization objects for the HR reports. I found 0PA_DS02 and 0PA_DS03 for structural authorizations in HR. I dont understand the purpose of these DSO's. Can some one explain wh