The current time is

Showing posts with label performance. Show all posts
Showing posts with label performance. Show all posts

Tuesday, June 03, 2008

Finally able to speed up Outlook 2007

To all the folks out there, I finally found "the" way to speed up your outlook... There maybe ofcourse more ways to do it... So I'm just sharing with you the "one" that worked :)

Enjoy then...

Following these steps:
1. Open Outlook as an Administrator by going to C:Programs/Microsoft Office/Office12 and right clicking on the Outlook exe program. Choose “Run as Administrator”.
2. Then once Outlook opens, go to Tools, then Trust Center, then Addins.
3. Click “Go…” at the bottom and uncheck Outlookaddins.
4. To maximize speed, they recommended to uncheck everything EXCEPT Windows Indexing, which, according to them, is the only useful addin anyway.

Referrence: http://www.pimpyourwork.com/finally-a-real-tip-to-speed-up-outlook-2007/

Monday, May 26, 2008

Determining the size of .Net Managed objects residing in memory

Lately I've been checking how to test for memory performance issues and I was hit by Mark Brown's blog... Liked his snippet alot although it's not thread safe but still it can help...
Here's the snippet:

long StopBytes = 0;
foo myFoo;

long StartBytes = System.GC.GetTotalMemory(true);
myFoo = new foo();
StopBytes = System.GC.GetTotalMemory(true);
GC.KeepAlive(myFoo); // This ensures a reference to the object kept in memory


MessageBox.Show("Size is " + ((long)(StopBytes - StartBytes)).ToString());

However, I guess it would be better if one would get the StopBytes after the statement of KeepAlive... Don't you think?