Memory leak in Mail, after X'mas

It seem this is not a common problem as I can only find out 1 similar topic in here.
My Mail.app start have a problem a couple days ago. Start Mail.app and it download all new email without a problem. (I have two account over there: .Mac and Gmail IMAP) However around 10 seconds my computer start very slow and around 20 second my whole OS without respond. (can't make dock enlarge or expose cannot function) The working "wheel" keep remain on "Sent" item but the activity panel told nothing to do in Mail.app. After few minutes of unresponding the program quit by itself and what I can choose is error report to Apple.
I try to open the Activity monitor with Mail.app. I found the Mail.app will use around 80-90% of CPU resource and eat all of my free real memory (I have 2G ram and usually 1.xx ram ate by Mail) and the virtual memory start up to 3.9x G by Mail.app, at that time my computer will stop working and I need to wait until the OS kill the Mail.app.
my computer: MBP C2D 2.16, 2G ram
OS: 10.5.1
HELP!!! Thanks!

The same thing happened to me this morning. I noticed that the Mail program was using 100.2% of cpu constantly, and i could not shut it down unless i forced it to quit. After some checking around, I noticed that the Mail progress bar at the lower left showed an incoming message each time I launched Mail, but the message never appeared in the inbox. I signed on to my mail account thru Safari and saw that a friend sent an 8.9mb message, but I could not see or find the attachment. So, I deleted the mail, and emptied the trash while signed on in Safari. Went back to Mail, and everything seems ok now. Hope this helps you.

Similar Messages

  • Memory Leak in Report after upgrading from Crystal Reports 10.5 to 13.0.1/2

    I'm currently having an issue with crystal reports 13 (Visual Studio 2010), We have recently updated our CRM Solution to use the newer crystal reports runtime as we are now using Visual Studio 2010,
    We have a client who has a report which contains a sub report which basically contains a Image pulled from a MSSQL Database as a BLOB Image Field which is basically scanned images relating to the report, Previously the report worked fine before the Client Updated our CRM Solution to the latest version, Now for each individual page which has the scanned image the application is swallowing 100 MB of ram, as there are around 32 of these scanned images and our solution is a 32 bit application we are getting out of memory errors due to the whole 2GB addressable to a 32 bit process limitation,
    The images are around 4MP and stored in JPG format in the database so should not be consuming over 100mb of ram per image displayed by the report even if they are being stored uncompressed in RGBA Format,
    Likewise when viewing the pages of the report manually after a specific page (when the amount of memory addressable by a 32 bit application gets hit) the images just don't display and then any pages with the image are not being displayed and not giving an error / exception.
    I have tried re-saving the .rpt files to cause them to be in the newer crystal reports format and this is still happening, likewise I have tried un-installing the 13.0.1 and installing the 13.0.2 runtime.
    I am just about to check SQL which pulls the image for the sub report, although I am sure for each sub report it should only be pulling one row with one jpeg image in case the sub report is holding quite a few images but only displaying the first.
    Likewise If all else fails I will try re-creating the report as I have experienced issues with some other specific reports doing strange things after being updated from the 2008 runtime which I really am not liking the idea of due to how fiddly crystal reports can be, It is good and does the job but takes far longer than some other solutions to get what you are trying to achieve done.
    This report had been working fine for 2+ years before the client updated to the most recent version of our CRM Software.
    Has anyone else experienced simular issues with the latest runtime.

    I have just been reviewing the code for this and it appears that the sub report is pulling all of the images,
    It is strange that previously this was working fine seems like the newer runtime does not dispose of the data once it has been displayed on a sub report which would explain memory leak as it will call the select again pulling approx 60 images which are probably approx 8 - 900KB plus sub report + uncompressed image to display and then filtering.
    I am about to modify this report and will post if fix i put in place resolves the issue.

  • Crystal report XI makeas memory leaking

    Hi all:
    My application use vs2003/COM+ with independ crystal report XI and it has a serious memory leaking issue. After I generated the report, the memory grew twice and then soon the application is crashed after it is up to the maximum memory.Microsoft helped me to look at the dump user file and their concusion is that the Crystal report was build with Debug mode and not release mode. I never heard it before since I only add module to my deployment project and never know it has debug and release module version. So Can I please get help and how can I get the release crystal report module?
    copid from the Microsft reply email:
    Hello Helena,
    Your custom modules are built in Release mode as per the configuration settings in Visual Studio, however, all the dlls that are built in Debug mode are listed below:-
    crystaldecisions.reportappserver.commlayer.dll built debug
    crystaldecisions.reportappserver.clientdoc.dll built debug
    crystaldecisions.reportappserver.cubedefmodel.dll built debug
    crystaldecisions.reportappserver.controllers.dll built debug
    crystaldecisions.reportappserver.datadefmodel.dll built debug
    crystaldecisions.reportappserver.reportdefmodel.dll built debug
    crystaldecisions.keycode.dll built debug
    crdb_adoplus.dll built debug
    the crystaldecisions.crystalreports.engine.dll  version is 11.5.3300.0
    Thanks
    Helena

    You can not. The memory will never go down to zero - at least not as long as the app is running. There is a number of files, assemblies, etc. held in memory by the framework until the app is shut down. This behaviour is by design, and is actually quite important. First with an application more then one report can be loaded at one time, so the underlying dlls couldn't be unloaded until all reports for that application were closed. If we behaved this way, everytime a new report was opened we would need to load all our core dlls, search for optional dlls and read all the registry keys over again. This would be a performance hit in the speed of the report being viewed and on the entire system. By leaving our core engine open after the report is closed there is no longer this bottle neck, and really if we changed this we would get lots of complaints.
    Now in general this is not that big of an issue for Windows applications as it is usually one user on a system at a time and 40 MB for a user is not much. For web applications I can see this as a potential issue, however if you are having 100 users at a single time running reports from your web application I might suggest that Crystal Reports may not be the best solution for you. I suggest you look at Business Objects Enterprise where you can offload the report generation from your Web App server to the Enterprise server to see if this would benefit you.
    A memory leak would be if you see this number increasing for ever - unitl you run out of memory and the mchine become unresponsive.

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

  • Memory Leak? (Update)

    Thanks for all the responses for this problem. Here is what I've come
    up with so far. I believe I have found the culprit.
    1) First, I used the LabVIEW VI profiler with memory tracking enabled.
    This didn't show what VI was hogging the memory, so it didn't help. It
    reported only 10M of memory was being used, when Windows NT reported
    110M in use by LabVIEW.
    2) VI references had been mentioned as the possible culprit if the
    references had not been closed. I then opened a VI reference at the
    beginning of the program, used these references throughout the loop, and
    then closed them at the end of the loop. Result: still had a memory
    leak.
    3) After some troubleshooting, I started deleting some sub-VIs out of
    my program to see when
    the memory was freed. I thought I could isolate
    which VI was hogging the memory. This seemed to have worked, because
    I've done it twice, deleting different VIs up to a point, and when I
    delete one of them out of the diagram, the memory is freed. This is
    what I'll explain below.
    Every iteration of the loop, the front panel is converted to a .png file
    and saved to the drive for output across the network to any browser
    which has connected. Using the LabVIEW/vi.lib/utility/printvi.llb/Get
    Panel Image.VI, the front panel can be changed into a .png format. The
    next step is where the problem lies. A Java applet is looking for a png
    file to download to a browser when a request is made. Therefore, the
    panel image which has just been made needs to be saved to a file. The
    Graphics & Sound -> Graphics Formats -> Write PNG file.VI is used for
    this. This is the VI which is causing the problem. Upon looking at the
    VI, it just calls a CIN. Therefore, I'm not sure how to find out why it
    is
    hogging the memory. If I delete this VI, and I don't save the front
    panel to a png file (but I do convert it to png format), I don't have
    the memory leak.
    Any ideas?
    Mark
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    I wish I could update to LV 6i, but I can't now. I'm stuck with 5.1.1
    for now. I don't know how I could "legally" get the .dll and png write
    VI from 6.
    Mark
    In article <[email protected]>,
    "news.t-online.de" wrote:
    > Hi Mark,
    >
    > you are right. It looks like lvpng.dll is causing the problem.
    >
    > Are you able to switch to LabVIEW6? The lvpng.dll has been changed
    > and I didn't see the memory leak here. You can also try to use only
    the
    > Write PNG File.VI and/or lvpng.dll shipped with labview 6 instead of
    > porting the complete application to labview 6.
    >
    > Martin
    >
    > --
    > Martin Henz Systemtechnik
    > Dipl. Ing. (FH) Martin Henz
    > Walchensee Str. 3
    > 70378 Stuttgart
    > Tel. ++49-711-5302605
    > Fax ++49-711-5058649
    > http://www.mhst.de
    > schrieb im Newsbeitrag
    news:[email protected]...
    > > Thanks for all the responses for this problem. Here is what I've
    come
    > > up with so far. I believe I have found the culprit.
    > >
    > > 1) First, I used the LabVIEW VI profiler with memory tracking
    enabled.
    > > This didn't show what VI was hogging the memory, so it didn't help.
    It
    > > reported only 10M of memory was being used, when Windows NT reported
    > > 110M in use by LabVIEW.
    > >
    > > 2) VI references had been mentioned as the possible culprit if the
    > > references had not been closed. I then opened a VI reference at the
    > > beginning of the program, used these references throughout the loop,
    and
    > > then closed them at the end of the loop. Result: still had a memory
    > > leak.
    > >
    > > 3) After some troubleshooting, I started deleting some sub-VIs out
    of
    > > my program to see when the memory was freed. I thought I could
    isolate
    > > which VI was hogging the memory. This seemed to have worked,
    because
    > > I've done it twice, deleting different VIs up to a point, and when I
    > > delete one of them out of the diagram, the memory is freed. This is
    > > what I'll explain below.
    > >
    > > Every iteration of the loop, the front panel is converted to a .png
    file
    > > and saved to the drive for output across the network to any browser
    > > which has connected. Using the
    LabVIEW/vi.lib/utility/printvi.llb/Get
    > > Panel Image.VI, the front panel can be changed into a .png format.
    The
    > > next step is where the problem lies. A Java applet is looking for a
    png
    > > file to download to a browser when a request is made. Therefore,
    the
    > > panel image which has just been made needs to be saved to a file.
    The
    > > Graphics & Sound -> Graphics Formats -> Write PNG file.VI is used
    for
    > > this. This is the VI which is causing the problem. Upon looking at
    the
    > > VI, it just calls a CIN. Therefore, I'm not sure how to find out
    why it
    > > is hogging the memory. If I delete this VI, and I don't save the
    front
    > > panel to a png file (but I do convert it to png format), I don't
    have
    > > the memory leak.
    > >
    > > Any ideas?
    > >
    > > Mark
    > >
    > >
    > > Sent via Deja.com http://www.deja.com/
    > > Before you buy.
    >
    >
    Sent via Deja.com http://www.deja.com/
    Before you buy.

  • Memory leaks continuing in Safari and Web Kit

    Will Apple ever fix the Safari memory leak?
    As many of you know lots of reports over the years of Safari & Webkit having problems with memory leaks, and haven't seen a fix to it yet. This is a very important factor for usability of Safari.
    A memory leak is when, after a period of time, your browser, which is the online field that's designed to function like a page and is used to access web pages and surf the World Wide Web, consumes more and more of your computer's memory until it reaches a point where it literally becomes impossible to use your computer. It's like your computer's stuck in cyber mud. You have to close any open software program or restart the entire computer.
    Safari starts about 426.9 MB of real memory and 412.6 MB of virtual memormy and can go up to 1Gb of memory.
    Has anyone come up with a fix to this problem ? If anyone has a workaround for this, please share it.
    Meanwhile, Apple really should eliminate this problem once and for all.
    FYI, I'm using Safari version 5.0.3 and the latest WebKit r72487 which was built on 21 November 2010.

    My experience is that the same thing happens with Firefox and Chrome. The only difference with Chrome is that since the tabs are separate threads, they consume memory separately. The nice thing about that is that once the tab is closed memory is instantly freed. However, the helper thread always gets larger. Whether this is a memory leak or a consequence of having an application open over a long period of time is -I believe- open to discussion. I have experienced similar results with Eclipse (a memory intensive application). Daily shutdown/reboot and a few "Quit"s per a few hours fixes this issue. I don't know whether you would like to do this, though.
    Using Safari 5.0.2.

  • Yosemite and Mail massive memory leak and excessive CPU usage

    I've just installed Yosemite and upgraded to 10.10.2 via the AppStore. Now I have a problem with Mail sucking up all the CPU (>106% !) and memory (>8Gb and rising while doing nothing). Everything runs fine when I quit Mail. Very disturbing behaviour!
    I've tried several suggestions found elsewhere on the board here, such as turning off and even removing all Mail plug-ins including SpamSieve, but without positive results. I've tried un-selecting 'Store draft msgs on server', as well as the option for junk and sent msgs. but again without any difference. Going Offline within Mail also makes no difference to its memory hogging or CPU usage.
    I notice this is an issue that's been around since last year (wish I'd known that before upgrading to Yosemite today) and I am just completely flabbergasted that it still exists. Would've thought Apple'd have fixed it in the first but certainly in the second incremental OSX Yosemite release.
    Is there anything else I could try that's proven to be effective in stopping Mail's massive memory leak?

    Okay, I've run Disk Util and restarted. Seems to have made a little bit of a difference to the RAM gobbling in that it appears to be going at a slower rate, but it's still up at around the 45Gb after an hour. Here's the EtreCheck report in the hope that it helps.
    EtreCheck version: 2.1.6 (109)
    Report generated 28 January 2015 4:38:22 pm AEDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
        MacBook Pro (Retina, 15-inch, Mid 2014) (Technical Specifications)
        MacBook Pro - model: MacBookPro11,3
        1 2.5 GHz Intel Core i7 CPU: 4-core
        16 GB RAM Not upgradeable
            BANK 0/DIMM0
                8 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                8 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en0: 802.11 a/b/g/n/ac
        Battery Health: Normal - Cycle count 16
    Video Information: ℹ️
        Intel Iris Pro
            Color LCD spdisplays_2880x1800Retina
        NVIDIA GeForce GT 750M - VRAM: 2048 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 1:1:19
    Disk Information: ℹ️
        APPLE SSD SM0512F disk0 : (500.28 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 499.05 GB (413.24 GB free)
                Core Storage: disk0s2 499.42 GB Online
    USB Information: ℹ️
        Apple Internal Memory Card Reader
        Asmedia ASM107x
            Asmedia ASM107x
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Asmedia ASM107x
            Asmedia ASM107x
                Logitech Logitech USB Optical Mouse
                Apple, Inc. Keyboard Hub
                    Apple, Inc Apple Keyboard
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
        /etc/hosts - Count: 2
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/DiskWarrior.app
        [not loaded]    com.alsoft.Preview (5 - SDK 10.5) [Support]
            /Applications/ibVPN.app
        [not loaded]    net.tunnelblick.tap (1.0) [Support]
        [not loaded]    net.tunnelblick.tun (1.0) [Support]
            /Library/Extensions
        [loaded]    at.obdev.nke.LittleSnitch (4231 - SDK 10.8) [Support]
        [loaded]    com.sophos.kext.sav (9.2.50 - SDK 10.8) [Support]
        [loaded]    com.sophos.nke.swi (9.2.50 - SDK 10.8) [Support]
        [loaded]    jp.plentycom.driver.SteerMouse (4.2.2 - SDK 10.6) [Support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.icloud.fmfd.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        10 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.wdhelper.plist
        8 processes killed due to memory pressure
    Launch Agents: ℹ️
        [running]    at.obdev.LittleSnitchUIAgent.plist [Support]
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [running]    com.adobe.AdobeCreativeCloud.plist [Support]
        [running]    com.sophos.uiserver.plist [Support]
    Launch Daemons: ℹ️
        [running]    at.obdev.littlesnitchd.plist [Support]
        [running]    com.adobe.adobeupdatedaemon.plist [Support]
        [loaded]    com.adobe.fpsaud.plist [Support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Support]
        [running]    com.sophos.common.servicemanager.plist [Support]
        [running]    com.synium.cleanappdaemon.plist [Support]
        [running]    com.syniumsoftware.CleanAppDaemon.plist [Support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Support]
        [running]    com.c-command.SpamSieve.LaunchAgent.plist [Support]
        [loaded]    com.google.keystone.agent.plist [Support]
        [not loaded]    com.linotype.FontFolderProtector.plist [Support]
        [failed]    com.wondershare.mobilegodaemon.plist [Support]
        [not loaded]    info.lokiware.attachmenttamer.cleanup.plist [Support]
        [invalid?]    info.lokiware.attachmenttamer.setupagent.plist [Support]
    User Login Items: ℹ️
        Letter Opener Updater    Application  (/Library/Mail/Bundles/Letter Opener.mailbundle/Contents/Resources/Software Update.app)
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Default Folder X Helper    Application Hidden (/Users/[redacted]/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X Helper.app)
        FontExplorer X Pro    Application Hidden (/Applications/FontExplorer X Pro.app)
        Calendar    Application Hidden (/Applications/Calendar.app)
        SteerMouse Manager    Application  (/Applications/Utilities/SteerMouse.app/Contents/MacOS/SteerMouse Manager.app)
        Mail    Application Hidden (/Applications/Mail.app)
        Android File Transfer Agent    Application  (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
        DiskWarriorStarter    Application  (/Applications/DiskWarrior.app/Contents/Helpers/DiskWarriorStarter.app)
        finderpop-daemon    Application  (/Users/[redacted]/Library/PreferencePanes/FinderPop.prefPane/Contents/Resource s/finderpop-daemon.app)
        XtraFinder    Application Hidden (/Applications/XtraFinder.app)
    Internet Plug-ins: ℹ️
        AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Support]
        FlashPlayer-10.6: Version: 16.0.0.296 - SDK 10.6 [Support]
        QuickTime Plugin: Version: 7.7.3
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
        Flash Player: Version: 16.0.0.296 - SDK 10.6 [Support]
        Default Browser: Version: 600 - SDK 10.10
        SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
    User internet Plug-ins: ℹ️
        iGetter Plugin: Version: 2.9.3 [Support]
        iGetterScriptablePlugin: Version: 2.9.3 [Support]
    Safari Extensions: ℹ️
        1Password [Installed]
        iGetter Extension [Installed]
    3rd Party Preference Panes: ℹ️
        Default Folder X  [Support]
        FinderPop  [Support]
        FUSE for OS X (OSXFUSE)  [Support]
        SteerMouse  [Support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
          105%    Mail
            3%    WindowServer
            2%    sysmond
            2%    Activity Monitor
            0%    fontd
    Top Processes by Memory: ℹ️
        4.10 GB    Mail
        103 MB    Finder
        86 MB    SophosScanD
        86 MB    InterCheck
        86 MB    WindowServer
    Virtual Memory Information: ℹ️
        84 MB    Free RAM
        2.92 GB    Active RAM
        2.87 GB    Inactive RAM
        2.76 GB    Wired RAM
        2.57 GB    Page-ins
        23 MB    Page-outs
    Diagnostics Information: ℹ️
        Jan 28, 2015, 03:37:41 PM    Self test - passed
        Jan 28, 2015, 02:49:01 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Android File Transfer Agent_2015-01-28-144901_[redacted].crash
        Jan 28, 2015, 09:31:04 AM    /Library/Logs/DiagnosticReports/Mail_2015-01-28-093104_[redacted].cpu_resource. diag [Details]
        Jan 28, 2015, 07:39:17 AM    /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2015-01-28-073917_[redacted].c rash
        Jan 27, 2015, 07:54:29 PM    /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2015-01-27-195429_[redacted].c rash

  • Huge memory leaks after upgrading from kernel 2.6.38(?)

    My system began leaking memory some months ago and I've little to no idea what is causing it. The closest hint I can give is that I think these problems started around upgrading from Linux 2.6.38 to 2.6.39 and have continued with 3.0 aswell. Sometimes my whole system freezes due to extensive swapping (HDD usage led stays lit), sometimes it stops after consuming almost all of my 4 GB RAM.
    I think the leak has to come from inside the kernel because all sysmon apps claim no application is eating too much RAM yet the system memory consumption is at 100 % or even using swap. Even after I kill Xorg the memory usage will stay at least at 2.0 GB, when it should be less than half a gig.
    I'd like to guess the blame is on Nouveau, because it was giving me a hell of a time back with Linux 2.6.39. It had a habit of freezing my system when re-enabling suspended compositing (both with Kwin and Mutter). Also video playback was corrupted sometimes. These probs have since been fixed with Linux 3.0.
    I cannot name any spesific app that might trigger this memory leaking. I don't play any games and mainly use Firefox, Chromium and VLC day in, day out.
    There seems to be absolutely no way of reclaiming the reserved memory than rebooting the whole system. I have even tried unloading Nouveau.
    I am currently running the [testing] repo with ~daily upgrades.
    Last edited by Verge (2011-08-16 14:04:09)

    OK, this kind of surprised me. No wonder I couldn't find any relevant stuff while googling for kernel issues. I have had Strigi disabled for some time now because it is miserably broken, but I now disabled the whole Nepomuk too. Let's see if my problem now goes away or what...
    The release of KDE 4.7 Beta 1 actually lines up with the launch of Linux 2.6.39 so this really might be the case. I moved to KDE 4.7 already with the first beta.
    Last edited by Verge (2011-08-16 14:30:37)

  • Yosemite - Mail.app memory leak

    I'm seeing a recurring issue with Mail.app taking up huge amounts of RAM memory.  There's evidently a serious memory leak in Yosemite Mail.  On three occasions today, I noticed my free memory below 20 MB (I have 16GB).  Activity Monitor shows the culprit to be Mail.app taking any where from 20-65GB of memory!  I've had to quit Mail and restart it, only to have the same issue surface later.  Does anyone have a way to mitigate/resolve this issue?

    I apologize this is not the Discussion that has all the solutions. It's this one:
    Yosemite OS 10.10 Mail Memory Leak
    There are 19 pages so far, I'll see if I can find my post with the suggestions. Found it, it was on page 7. Here ya go. Hope it works!
    Doren_Sean_Michael
    Oct 23, 2014 8:47 PM
    Re: Yosemite OS 10.10 Mail Memory Leak
    Re: Yosemite OS 10.10 Mail Memory Leak
    in response to Doug Lerner2
    Thanks mlwebber & etresoft. I think we were able to narrow down the 4 most effective methods of temporarily resolving this issue it seems. I only had to disable the drafts to get back to normal, but others are reporting that using that in conjunction with a combination of 3 of the other methods from mlwebber are resolving their issues. Albeit this is only a temp fix until Apple updates their software & truly fixes this bug/issue, but, at least, I hope, we all can get back to business as normal for the time being.
    Doren (from etresoft’s observations):
    - Preferences/Accounts/Mailbox Behaviors: UNCHECK “Store draft messages on the server”
    mlwebber:
    - Preferences/Accounts/Advanced: UNCHECK “Use IDLE command if the server supports it”
    - Preferences/General/Check for new messages: “Every 5 minutes”
    - Preferences/Junk Mail: UNCHECK “Enable junk mail filtering”
    Please post in this discussion if none of these methods help you and we'll see what we can do. We'd also love to know if these methods also resolve your issue. Thank you.

  • Free memory after using GetRS232ErrorString() to avoid memory leak?

    Hello,
    Is it necessary to free memory after using function GetRS232ErrorString() to avoid memory leak?
    Example 1:
    int main();
    char *strError=NULL;
    strError = GetRS232ErrorString(55); /* just an example for error message */
    free(strError ); /* Do I need to free this pointer? */
    Example 2:
    int main();
    MessagePopup ("Error", GetRS232ErrorString(55)); ; /* Will I get a memory leak with this function call? */
    BR
    Frank

    It's a pity that the documentation is indeed so poor in this case, but testing shows that it always returns the same pointer, no matter the error code, so it seems to be using an internal buffer and you are not supposed to free the string (but need to copy it before the next call to GetRS232ErrorString if you need to keep the text). It does however return a different pointer for every thread, so atl least it seems to be thread safe.
    Cheers, Marcel 

  • After 5 Releases, Why Doesn't Mozilla Care About Memory Leaks?

    I'm baffled as to why this is still a problem. After a few hours of use, my memory usage while using Firefox 5.0 is at 1.5GB. I've followed every FAQ, disabled every extension, done everything to stop the memory leaks when using this browser and I'm growing very tired.
    I have a Core i7 MacBook Pro with 4GB RAM and Firefox still manages to bring it to it knees. I've been a devoted Firefox user since 2002-3 and I've just about lost my faith in this browser.
    Chrome is a featureless, ugly, dinky browser that I hate to use, but it leaves Firefox in its dust performance-wise. Where is the happy medium? I don't get it.
    My favorite answer is always, "disable your extensions." Here are the problems with that:
    1. Without extensions, Firefox is nothing. I might as well use Chrome.
    2. It never seems to help, and when it does a little, it is difficult to figure out which extensions are doing the most damage. Why doesn't Firefox provide a way to look at which extensions are using the most memory?
    3. Firefox should lay that smack down on extensions that could potentially leak memory, and yet, nothing. It should at least steal memory back when it gets out of control, regardless of what extension is using it.
    4. Mozilla recommends some extensions that are supposed to help reduce memory usage, but none of them work on OS X.
    I'm exhausted. I shouldn't have to restart my browser a million times day to get anything done. Where are the real solutions? How do years go by with problems like this still getting worse? Firefox 5 was supposed to be better at handling memory, but it's only gotten worse for me.
    When will the madness end? We don't want new features, we want performance! I've always loved this browser, but is it really a surprise that Chrome is taking over?
    To sum it up, if your browser is slower than Internet Explorer, you need to hurry up and fix the problem or pack it up and go home.

    My sentiments exactly!! I have all the exact same complaints and concerns, and I've also tried the solutions provided at no avail.
    This the only beef I have with FireFox, but it's a bad one and I've been shopping around for a better browser. Chrome is the best alternative I've found, but it still isn't quite at parity yet.
    Please fix this issue or at least make an attempt at it to let your users know it's somewhat of a future priority.
    Attached a screen shot of memory usage after 1 hour, and this is the new FF 5 update.

  • Airport Extreme appears to have memory leak; sluggish after long uptime

    For a long time now, I have been frustrated by what appears to be a memory leak in the Airport Extreme firmware. After the unit has been running for a few weeks (and this varies from one week to one month approximately), the WLAN to LAN routing performance will drop drastically. It will go from ping times (from a WLAN host to a LAN host) of 1 mS or less to ping times in excess of one second.
    In this broken state, all traffic through the unit is dog slow. Doesn't matter what the traffic is-- if it's to and from the wireless LAN, it's going to take forever.
    If I power cycle the Airport Extreme, the problem will go away for another few weeks. I have dealt with this issue for several years with the hope that eventually a firmware upgrade would come that fixed it. So far, no such fix.
    Is anyone else experiencing this sort of behavior? When it isn't sluggish, the unit works wonderfully with Mac, Windows and Linux wireless clients so I have no reason to blame anything but the Extreme... particularly since the bandaid is a power cycle of it.
    All of my clients are 802.11b/g, no 'n' in service here.

    Boot into safe mode (restart holding down SHIFT key). If no KP, then uninstall and reinstall those 3rd-party items that Roger pointed out, one at a time, and restart. Continue until you determine which ones are causing the problem. If KP while in safe mode, then most likely hardware related. Run the Apple Hardware Test suite, extended tests at least twice, followed by Rember.  See
    OS X About kernel panics,
    Technical Note TN2063: Understanding and Debugging Kernel Panics,
    Mac OS X Kernel Panic FAQ,
    Resolving Kernel Panics,
    How to troubleshoot a kernel panic, and
    Tutorial: Avoiding and eliminating Kernel panics for more details.

  • Osx Lion memory leak: my MacBook pro is usable only 10 minutes after boot

    Hi all,
    10 minutes after boot it works just fine, but then it slows down and take centuries to open any application. Checked with Activity monitor:
    on a boot, no user applications running: Free memory: 2,35 Gb, Wired: 459,7 Mb, Active 3 Mb, Inactive: 1,18 Gb
    In 10 minutes, idle: Free memory: 8,4 Mb, Wired: 468,1 Mb, Active 2,36 Gb, Inactive: 1,17 Gb
    Somehow all the free memory leaks to the active one, without me doing anything. I tried launching several programs to see if the memory will get adjusted accordingly, but it does not. Time machine is stopped. Tried disk repair is CMD+R mode, fixed permissions, killed most of the user processes - no success.
    I've installed Lion on top of Snow Leopard a month ago and didnt feel any problems so far... Now my MacBook pro 2,4 GHz is completely useless, finally, after 6 years of seamless work :( Thanks, Lion
    Any ideas how to deal with it?
    Thanks,

    I do not see anything like this on my system which would lead me to believe you may have a defective installation. So, my suggestion:
    Install or Reinstall Lion from Scratch
    If possible backup your files to an external drive or second internal drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your startup volume (usually Macintosh HD) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Erase button and wait until the process has completed.
    Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Install button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

  • Word 2011 has memory leak after applying 10.8.1 update

    Word started crashing on me recently, it occurs every 8 to 10 minutes when i am working with a large documents.  I looked around at the forums and tried all the "Verify Disk Permissions", re-installing, removing normal.dot and word preferences and creating new users.  None of these work.  I opened Activity monitor and witnessed the memory grow rapidly without any activity in word (The larger the document, the quicker it would rise) from 0-1.5 Gb in around 10 minutes - High CPU is also presentduring this memory leak.  When the memory reaches the limit of the available system memory (usually around 1.6G), word crashes.
    I tested the same documents on a few other similar computers (macbook and another imac) they did not have the issue, memory remained steady for long periods of time.  I check the software versions of the computers and Word was all the same (14.2.3) however OS X was only 10.8 on the working computers where as the failing computer was 10.8.1. 
    I confirmed the error by updating both of the other computers to 10.8.1, now all computers exhibit the memory leak.
    Anyone got any ideas?

    Update Soundflower to the most recent version. You have an unsupported edition. http://code.google.com/p/soundflower/downloads/detail?name=Soundflower-1.6.6b.dm g&can=2&q=

  • Huge memory leak in java jvm after update 2 for Snow leopard

    Since I updated to Java Update 2 for Snow Leopard my JVM suddenly grows massive (10GB+ real memory - -Xmx=3500m) consuming all memory and rendering my iMac unusable. This does not happen predictably but does happen several times a day now requiring I power off and on again.
    I had been living happily with update 1 with no such problem.
    I need to either go back to update 1 (should have it on Time Machine) or find a solution for this problem.

    Our application is a j2ee-based commercial application facing to specified customers, having about 120 access request an hour.
    We ' re doing stress test on the test server. The strange memory leak occurs at 1:20 am this morning while we're out of company , and no job was scheduled to run at that time. So I have the tendency to image that there is something inside oc4j had occured.
    I have used OptimizeIt to monitor the heap status. However , as the memory leak problem occurs very occasionally ,and that tool deadly slows our server, we are currently using no profiling tools.

Maybe you are looking for