Out of memory or system resources in Microsoft Outlook 2003 and 2007

I am getting the "Out of memory or system resources.  Close some windows or programs and try again" error in Outlook 2003 and 2007.  I've done a search but have had no luck.  

On my machine, running XP Pro SP3, Outlook 2007 SP1 with 3GB ram, this error ONLY on Monday mornings.  On Friday when I leave the office, all my programs are closed except Outlook.  On Monday when I come in, I see about 3-4 instances error message box.  After I clear all the message box and try to continue using Outlook, the message pops up again.  I eventually reboot my machine.  Only thing I think it would be doing is a send/receive.  I am connected to Exchange 2003.  I obviously cannot duplicate the error.  

The same error is occurring on a remote user connecting to the Exchange server over https and is using Outlook 2003.  His error seems to occurr when using the laptop during the day.   He was sending an email when he got the message.
srfoster77Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gke565Commented:
Are you running cached or uncached?  Have you tried deleting and rebuilding profile and/or OST file? Have you checked MS KB911084: http://support.microsoft.com/kb/911084/en-us.  For Outlook 2003, are the latest service packs installed?
MrLonandBCommented:
Try:

1. My Computer > Properties > Advanced > Performance > Settings > Advanced > Virtual Memmory > Change. Adjust min and max page file to say, 2048 and 4095 respectively.
srfoster77Author Commented:
gke565 - I am running it cached.  I have not tried deleteing and rebuilding the profile or the OST file.  Will try after seeing what other responses I get.  For Outlook 2003, they are SP3.  I will run the MAPI repair tool and delete the profile and OST files there as well.  I will keep you posted.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

srfoster77Author Commented:
MRLonandB:  I have updated the VM info on both machines.  I will keep you posted.
srfoster77Author Commented:
So this morning, I get into the office and it looks like I didn't receive a message box wit the error but, nothing can be displayed in my mailbox.  It did give me a screen that said something about out of resources but the screen has gone away.  When I click on any of hte folders within my mailbox, it just says, Cannot display the folder.  This is on Outlook 2007.

I just deleted my OST file and profile as well.  I will see if I still get these errors.
srfoster77Author Commented:
I just got into the office and still got hte Out of memory error.  I don't know what else to do...
srfoster77Author Commented:
I forgot to mention, this time the error came up immediately after I attempleted to reply to an email. After I restarted Outlook, I was then able to reply to that email.
MrLonandBCommented:
If you look at the Application Log in Event Viewer...do you see Outlook Connectivity errors?
srfoster77Author Commented:
I only see some OAB downloads failing but evenually it was successful.  No other errors in the log
MrLonandBCommented:
Looking back over the posts...are you still running in cached mode? Have you tried taking it out of cached mode?

Just trying to narrow-down where this is coming from...
srfoster77Author Commented:
I have not tried to take it out of Cached mode.  I havent tried the mapi tool as well.  It didnt work for me.  Do I have to use command line?
MrLonandBCommented:
Try taking Outlook out of cached mode.

To run the tool, open to the command prompt and change the directory to: C:\Windows\System32...or wherever the fixmapi.exe is located. Once in the right directory, type: fixmapi.exe and hit enter.
srfoster77Author Commented:
Ok, I have taken it out of Cached mode.  When I run the fixmapi.exe, I don't see anything happening in Task Manager.
srfoster77Author Commented:
So as I came into the office on Monday, I didn't get a pop-up error but Outlook seemed to have stopped responding so I had to shut it down.  I will keep it open all week to see how it goes running without cached mode.  Is there a reason cached mode would cause this problem?
gke565Commented:
A corrupt cache (OST file) can cause several different problems - including no response.  Usually rebuilding corrects this.  Do you have any Add-ons running in Outlook?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
srfoster77Author Commented:
I've rebuilt the OST file and still no luck.  what do you mean by add-ons?  The only thing I can think of is the Adobe Acrobat and Go2Meeting toolbar plugins.
gke565Commented:
For Office 2007 go to Tools > Trust Center > Add-ins.
http://office.microsoft.com/en-us/outlook/HA100341271033.aspx#14 
srfoster77Author Commented:
So far, I haven't gotten any more errors.  Why would running in cached mode cause a problem?  It doesn't happen with any of my other users in the office?
gke565Commented:
Just out of curiousity have you tried checking for spyware and/or malware?  Do you have a lot of unnecessary programs running at start-up (or in the system tray)?  As for why cached mode may be giving you issues - do you have several client side only rules, or access non-cached items through Outlook?  Look at this KB: http://support.microsoft.com/kb/870926 
srfoster77Author Commented:
I dont have any spyware or malware.  I don;t have any unnecessary programs running at startup but I do have about 6 client side rules for my folders.  That must be the problem?  So I can't run in cached mode?
gke565Commented:
You may have a flakey rule that is causing sync errors while in cached mode and over time use up all the resources.  Verify they dont have any broken links that could cause mutliple retrys.  Also check your Sync Issues folder for any issues that may help you solve the problem.
MrLonandBCommented:
If running Outlook in online verses cached is resolving the issue, then I might leave it online or if you need to be cached, I think I would create another profile and see if that solves. Otherwise, you could spend a great deal of time trying to figure out which little "nuance" is causing the problem.
heera667Commented:
Hi, not sure but might be helpful.

1. close outlook, locate the ost file and delete. open outlook on exchange connected. It will take some time to rebuild a new fresh OST file.

2. Check your mailbox quota size on exchange server, see if there is any limitation which you have crossed.

3. if above 2 options didn't solve your problem, then there might be a problem on exchange server STM file. probably some of your email's content missing from current STM file. Usually if stm file has been regenerated after old stm file got corrupted (for checking scroll down to some old email see if it is opening with attachments)

IT_TonyhCommented:
I am finding that when you install 2003 or 2007 that it will grab your old pst and add it to the new version.  However; It does NOT convert it to the new format that allows for fast search and larger file size. (over 2gb).  To fix that problem you create a new outlook data file in the latest format, make it the new default data file, remove the old pst from the datafiles list and then import it to the new data file you just created.  This got rid of the out of memory error for me.

hope that helps
srfoster77Author Commented:
Rebuilding the OST didn't fix the problem for me.  Running in non-cached mode did.  I ended up wiping out my box and rebuilt it for other reasons.  That seemed to have fixed the problem.  I did try all the suggestions above but had no luck.  Maybe a full re-install of Office would have done the trick?
Iain MacMillanIT Regional Manager - UKCommented:
For the original out of resource errors, this is common on XP when the desktop heap size has reached its limit.  I found this solution while looking for reasons for Firefox 3.0 screen refreshing not working on dual screen XP SP3 desktops.  Its to do with GDI Objects, and its a finite resource, go over it and it doesn't matter what you run, or how much ram you have left -- you will get an 'Out of Resources' error.

Also, personally, i would not leave my Outlook running over the weekend when not in the office, it may have effects on the backup of your mailbox etc on the Exchange server.

To change your XP system's desktop heap size, open REGEDIT and go here:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems]
Windows=%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=163

Double click the Window entry, and cursor back to the start of the line, the actual number you want to edit is 3072, and put it to 8192, which is the max setting, but i also doubled the first and third number while trying to fix the Firefox issue (which they will fix in the next release, as its the Gecko rendering engine at fault).  You can also set Task Manager to show GDI Objects, so you can see what eats resources, such as Skype, Winamp, Office & Admin apps, Antivirus, Diskeeper, MMC's and even Explorer.EXE will gradually creep up in value until you reboot.

Hope this helps.
GENINZCommented:
Thanks IanNIX! this worked perfectly twice, nothing else did:

To change your XP system's desktop heap size, open REGEDIT and go here:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems]
Windows=%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=163
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.