Mail.app Memory Leak

While sending a photo heavy (200 small images @ a total of 12.6 mb) my mail app crashed, and now when I start it I see in iCleanMemory that it quickly grabs up all the resources, which brings my iMac to a grinding halt.
Are there any fixes anyone knows of?  I trashed all my plist files from the MailData folder, but it didn't work.  I went to see if I could re-download and install Lion from the App Store, but do not see a way to reinstall from there.

Another strange thing as I have tried to correct this problem manually (including starting in SAFE Mode) is that my home Library is hidden.  Is this something particular to 10.7.1?   I have to access my email attachments in a search in order to get to my Mail folder in the Library.

Similar Messages

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

  • Mail app memory leak affecting business productivity

    Ever since upgrading both my 27" iMac (late 2012, i7, 3.4 Ghz, 32 Gb RAM, 3 Tb hybrid HDD) and my 15" MBP (late 2011, i7, 2.5 Ghz, 8 Gb RAM, 750 Gb HDD) using Mail has become almost impossible. Both machines experience severe memory issues when using Mail. It is not uncommon that Mail hogs between 90 and 95 Gb of memory (seen in Activity Monitor). The app crashes several times every day, sometimes multiple times per hour.
    Going on more than four weeks since the upgrade and the problem started, this is really affecting my business productivity.
    I have tried many of the suggested solutions found on different forums, e.g. checking for add-ons, which I don't have. Also checking my one GoDaddy account settings which is using IMAP port 993 and never changed during installation, which some have experiences. Use SSL is checked.
    Today Mail crashed multiple times and a 49 page crash report was generated.
    I need this issue solved. If anyone has a real solution, I would greatly appreciate if it could be shared here.

    I don't know if there's a "real" solution yet. There seems to be a very specific problem with the Mail application and GoDaddy's IMAP service. That it happens _only_ with GoDaddy would maybe indicate that the GoDaddy server is doing something strange (i.e. operating differently to other IMAP servers), and whatever it's doing causes Mail to go berserk.
    Probably best to sit tight and hope that Apple fixes this in an OS X release. It seems like in the past there has been a first update out around a month give or take after an OS release, so fingers crossed.
    Stuff you could probably do in the interim:
    * Disable the GoDaddy IMAP account in Mail and use their webmail
    * Use another IMAP client (Mailmate looks nice) in 30-day trial mode and hope it gets you through
    There are probably more options, but they're all variations on the same theme.

  • Mail.app memory leak. RAM use increases until system is no longer usable

    I am having this problem since a week ago more less.
    Mail keeps increasing the memory use from a starting 100 Megas. Increasing something like 100 megas each 10 minutes, until the whole system is unresponsive.
    Any ideas?
    Thanks!
    PD: I have 3 IMAP accounts and 1 POP. In total 3348 messages. Running 10.5.4

    Thank for the fast reply!
    Indeed it happened to me. Whenever I dropped a file to the icon it would just hang up the computer. Then I removed my custom plugins (3 columns plugin, and Encryption plugin , I thing). And it worked well. Or at least I could drop files to the Mail Dock icon.
    My impression is that it might be related with IMAP and Gmail. I have 3 Gmail accounts. One of them is my primary email account, it has many many mail. The "all Mail" folder is a big one and probably Mail is trying to catch everything. It does so slowly in the background, creating the problem. May be. Just in case I selected the option not to download attachment in mails.
    Other suspect is the iGTD program I have been using. It syncs with Calendar and the ToDo folder in Mail. But the problem is still there even if iGTD is not working.
    I remember reading something about email with attachment that had numbers on the title, or something like that. It would create a similar problem but I can´t find it now.
    I have tried to control the output from "lsof | grep Mail" and "fs_usage -w -f filesys Mail" but I can´t find anything suspicius (not that I am an expert on that, though)
    THANKS a lot for the help.

  • App Memory Leak When Open iPhoto

    Hi everyone,
    Does anyone have experienced app memory leak when open iPhoto?  My free memory immediate dropped from 5000 mb to 15mb when I open iPhoto and the app never open.  If I force to quit iPhoto, all return to normal and everything work fine.  I only have iPhoto app running, not sure what caused the memory leak??? 
    Looking for help. 
    Thanks
    JHML

    Actually the new library was a test to see if the problem occurred only with your current library or with all libraries.  The fact that switching libraries cleared up the problem is just serendipitous. 

  • 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

  • Mail.app memory use spirals out of control

    Mail.app has developed a problem where it grows significantly in virtual and physical memory use, footprint upon opening just now is 132Mb physical, 497 Virtual. On three occasions yesterday I found my machine slowing down only to discover Mail.app holding >2Gb of virtual memory and constantly growing and all remaining physical memory. Asking Mail.app to quit resulted in no success and an increasing virtual footprint. On all occasions I had to terminate the application from the Force quit applications menu. My impression is that the machine would eventually grind to a halt from memory exhaustion or terminate the process however work pressures prohibited me from finding out which.
    Background: I have 2 Macs with approximately the same config and setup, with email accounts and settings synchronised via mobile me. The main software difference is that the problem machine was upgraded to Safari4 upon its release and the non problem machine remains on the previous stable release. Since this upgrade, though I am not certain of the reliance, the mac mini has exhibited these problematic symptoms. I have checked for any Bundles in the ~Library/Mail and found none.
    I am a competent unix user but naive at the idiosyncrasies of the mac so please feel free to point me to any specific troubleshooting guide or info on how to obtain better diagnostics

    I "switched" to use Mail only yesterday, and am seeing this happen. Previously I used Entourage, but syncing problems w/ my phone were just getting out of hand.
    I'm seeing up to 2GB/3GB of actual/virtual memory usage from Activity Monitor.
    Any thoughts out there by anyone are appreciated. I'm using IMAP for GMail (~15k messages, including subfolders), 13k in my inbox.
    Is there a chance that Mail is holding all those messages in active memory, rather than reading as necessary? What a bad design!? What are the chances that looking in thread view is causing this, rather than just reading them in order?

  • Messages app memory leak

    I notice when I leave Messages running, it begins to take massive amounts of RAM.  I have 16 GB of RAM on my iMac, and I just sat at my computer see Messages using 12.58 GB of RAM according to Activity Monitor.  That is absurd!  It made my computer completely unusable (took lots of time just to get the computer to make a screen grab).
    What should I do?  This keeps happening.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Mail.app and huge memory leak

    Mail.app have some serious memleaks: http://jabster.nazwa.pl/MailAppMemLeak.mov (recorded from activity monitor). Mail.app can eat all memory and cause system to become unrespondable. Anyone have similar issue?

    Solved it!
    I have several email accounts configured in Mail. While Mail was eating up the memory, I've noticed the rotating circle at one of the accounts indicating Mail is doing something with it. This particular account was Google mail via IMAP. What I did to resolve problem is I deleted Google mail from my accounts and I've restarted Mail. Things turned back to normal! Then I've added GMail account again, and it is working like a charm since, Mail is using only 238Mb of memory.
    Therefore, I can conclude there is a bug in Mail handling email accounts (in my case Google mail via IMAP) and it is doing something with that account that increasingly takes ridiculous amounts of memory. Removing the account in questions, restarting Mail and adding the account again has solved the problem in my case :))
    Danny

  • Mail app with Exchange memory leak

    I have Mail 5.3 on 10.7.5 running with one Exchange account and no other accounts. Every time I press the "Get new messages" button, or when it automatically does that, memory usage for the Mail app jumps by 3-5MB. Over time, this becomes substantial. I left Mail running on my work computer over the long weekend and came back to find it using over 4GB of RAM! A quit-restart of Mail drops it back to 70MB usage, but it grows again.
    Anyone else experience this? Is it related to the Exchange account? Any known fixes?
    Thanks!

    I think I found a solution. I was having trouble with Exchange, so I deleted the account then set it up again. After that process, I found that the Mail app no longer eats memory. Give it a try!

  • Mail.app leaks memory

    Mail.app is allocating memory until it can't find anything left. Within 15 minutes after startup it already used 415MB. Keep it running a little longer and it will grow to 1.4GB and my Mac stalls, because I also have a VMWare running and I only have 3GB.
    I already filed a bug, but I didn't hear from it yet. Anyone having the same experience?
    Edit:
    Radar: 7217060
    Message was edited by: tverboon

    So I seem to be consistently having the memory consumption increase with Mail too. I have restarted numerous time, all to no avail.
    I have the frequency of the check for email set to "Every minute"; not sure if this has to do with it. My mail account is connecting to a Microsoft Exchange Server.
    iCal also freaked out on my this morning--the memory usage reached 1.25GB of RAM--it has since gotten back in line after a restart. It is now holding steady at 46MB.
    Any other suggestions out that?
    Any official word on this? I'm willing to provide diagnostic data/log if any Apple folks are interested.
    Thanks.
    Message was edited by: afajem

  • Memory Leak in Preview.app when switching Display Profiles

    I found a weird memory leak in Max OS X Preview.app, which manifests itself when Display profiles (color calbration) is change. I wonder if anyone else can reproduce my experience.
    1. Open up "System Preferences" -> "Displays", switch to the "Color" tab. You'll need at least 2 available profiles in the list. (If you only have 1, you can create another using "Calibrate..." button to launch Display Calibration Assistant.
    2. Open an image file in Preview.app.  The larger, the better. Zoom in full size to maximize the effect of the bug. I repro'ed easily with this image: http://www.donporter.net/NewSchool/Color/Examples/Printer%20Test%20file.jpg
    3. Open up "Activity Monitor.app", and click on Preview to highlight it, so you can watch its memory usage.
    4. Switch back to "Diplays" Preference Pane. Using the arrow keys, toggle up and down between two different Display profiles.
    4a. At the same time, watch Preview's "Real Mem" in Activity Monitor, as well as the total "Active" memory.
    5. Each time you switch profiles,  Preview consumes more Active/Real memory, about 25MB per switch in my case. This continues until all physical memory is consumed, and then (I presume) starts swapping virtual memory to disk.
    6. Bring Preview to  foreground, and all the profile-induced memory usage is freed.
    Weird, wild stuff.

    Could it be possible that this is just the OS holding the memory for the app until another process requires it?  Do you find that the memory increase eventually causes the app to become unstable? 
    It might be best to open a new bug report on this over at bugbase.adobe.com.  When adding the bug, please include any source code, project or installer that will help us reproduce the issue internally.  If you'd like to keep your code private, feel free to email it directly to [email protected]  Once entered, please post back with the URL so that others effected can add their comments and votes.
    Thanks,
    Chris

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

  • Memory leak issue in iPhone app

    We developed a little program to display PDF's on the iPhone, but it's crashing after scrolling through xx number of pages with low memory error. The app runs fine in the simulator but crashes on the original iphone. I ran the memory leak debugger tool from xcode and got the following:
    http://picasaweb.google.com/momopi/MiscCollection#5384555524546579922
    (click on magnify glass tool to zoom in)
    Weird part is when I run the same on iphone simulator I only get 2 small memory leak warnings (128 bytes each), but on the iphone I get a lot more warnings and it crashes.
    Has anyone seen anything like this?

    Perhaps you don't have any meaningful leaks. Your program could simply consume too much memory. It has been many years since keeping a small memory footprint was important. Now that Apple has thrown embedded programming to the masses, everyone has forgotten about that.

  • JSF (RI) app hot-deploy memory leak

    I have a standard JSF (RI) based web app that appears to be working just fine in terms of functionality. However, I believe that there is a memory leak associated with the sort of frequent hot-deploy cycles that are typical during a normal development cycle. I have been monitoring the app via the jvmstat 3.0 tools and have witnessed NO memory growth in the young or old generation areas - regardless of useage pattern. All of the growth seems to happen in the perm area of memory and be directly coincidental with the occurence of a deploy. Eventually, continued hot-deply cycles will result in an OutOfMemory error on the container - please note that continued and extensive use of the app WITHOUT the aforementioned hot-deploys does NOT result in the OutOfMemory error.
    From my research so far, I have discovered the following thread:
    http://forum.hibernate.org/viewtopic.php?t=935948&postdays=0&postorder=asc&start=75
    It refers to a similar problem with hiberate (which I am NOT using) as well as a commons-logging and several others. From the looks of it, I strongly suspect that there may be an issue with JSF when it's implementation is bundled inside the WEB-INF/lib dir - i.e. inside the specific web app's ClassLoader.
    Based on the above, I have implemented a SessionContextListener that invokes the org.apache.commons.logging.LogFactory.release() inside the contextDestroyed( ServletContextEvent e ) method. This does appear to free up some perm memory but there is still large growth that appears to be directly related to the FacesServlet initialization (navigation handlers, etc). I looked into calling the FacesContext.release() method which seems to have purpose similar to that of the LogFactory.release() method. However, at the time of the contextDestroyed() invocation, FacesContext.getCurrentInstance() always returns null, so I do not ever have an opportunity to invoke the release method that I am aware of. If my suspicions are correct, than I would likely be able to avoid this problem entirely by simply placing the JSF implementation jars in the conatiner's shared lib dir - instead of bundling it inside WEB-INF/lib. However, this is not an option for this container as multiple web apps (which require the flexibility to use differing JSF implementations and versions - i.e. RI vs MyFaces, etc) will run on this container.
    I don't believe it is at all related to the problem at hand, but my container is JBoss 4.0.2.
    Any and all assistance and suggestion will be greatly appreciated! Has anyone else seen this sort of behavior? Are there any work arounds or corrective actions?
    TIA

    Has anyone else run into this? I'd greatly appreciate any assistance as I cannot seem to resolve this hot-deploy related leak.

Maybe you are looking for