Enabling More Than 2GB of Memory in Visual Studio 2008

24 09 2008

I have constantly been getting errors while doing builds in Visual Studio 2008 as well as doing searches that say I’m out of storage, along the lines of:

Not enough storage is available to complete this operation.

My computer has 4GB of RAM so I shouldn’t be running out of memory.  Thanks to Google and Steven Harman my problems seem to be solved!

Hacking Visual Studio To Use More Than 2GB of Memory

The first thing to do is tell the OS to increase the amount user-mode memory from 2GB to 3GB. If you’re running a 64-bit you can skip this step.

  • for Windows XP: Backup the boot.ini file and then put the /3GB switch in your boot.ini. (more information on the /3GB option)
  • for Vista: run the following from the Visual Studio command prompt (Brad Rutkowski has the full scoop):
       1:  BCDEDIT /Set IncreaseUserVa 3072

Then we have to make Visual Studio large address aware.

  1. Be sure to backup devenv.exe
  2. Using the Visual Studio command prompt, navigate to C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\
  3. execute the following command:
       1:  editbin /LARGEADDRESSAWARE devenv.exe

Finally we’ll use the old Microsoft-fix-all – reboot the machine. Bounce that box!


Enabling the DoubleBuffered Property

18 09 2008

I have been developing a pretty extensive UI and Database for retail sales and service, and we’ve had issues with slow response of the UI and flashes when repainting.

I had read about the DoubleBuffered property and how setting it to True fixes this problem.  I set this on our main forms but it made only a minimal difference.  I just recently decided to apply this change to all the controls and forms, and that makes a huge difference.

The speed increase on loading the initial form is OK, but when switching forms and switching customers, the UI repaints super fast now.  It barely flashes at all now except a slight bit where we have a large number of controls close together over a gradient.

Artwork by Harriet Hoover

15 09 2008
Harriet Hoover created this card for Irene for her 88th birthday.

Harriet Hoover created this card for Irene for her 88th birthday.

Irene Rudisill Saunders

15 09 2008

Mrs. Irene Rudisill Saunders, age 88, of Lincolnton passed away on Saturday, August 30, 2008 at Carolina Care in Cherryville.

Mrs. Saunders was born on August 17, 1920 in Lincoln County to the late George and Bertha Finger Rudisill. In addition to her parents she was preceded in death by her husband Al Saunders; by her sisters Helen Hawn, Mary Bangle, Olivia (Lib) Beam, and Lois Cornwell; by her brothers, Yates Rudisill, Howard (Ope) Rudisill, Hunter Rudisill and Bill Rudisill. She was retired from the insurance business where she worked as a claims clerk. She was a member of the First Baptist Church in Lincolnton and a loyal driver for the Meals on Wheels program. Irene was happiest when she was serving others. She will be remembered for her humor, her wonderful cooking ability, but most especially, for her special love of children.

Survivors include: brother-in-laws: Brad Bangle and Steve Beam; nieces and nephews: Bob Hawn and wife Harriet of Wilmington; Joann Helms of Advance; Jim Bangle and wife Jo of Marion, Virginia; Mary Jo Johnson and husband Archie of Morganton; Carol Porter and husband George of Hickory; Bill Beam and wife Deb of Cherryville; Judy Cline and husband David of Raleigh; Ann Hoover and husband Harry of Cherryville; Ellen Allen and husband Roland of Shelby; Leslie Saunders and husband Gene of Lincolnton; Dan Rudisill of Lincolnton; Jane Perkins and husband Cecil of Lincolnton; Alice Ramsey and husband Charles of Lincolnton; Joe Rudisill and wife Linda of Lincolnton; also her many grand nieces and grand nephews and their children; and by her loving neighbors who provided support and encouragement.

A private memorial service will be held on Sunday, September 14, 2008, officiated by her nephew Jim Bangle, a retired Lutheran Minister.

Memorials may be made to the Hesed House for Homeless Individuals, 228 Stanford Road, PMB #161, Lincolnton, NC 28092, or to Hospice/Palliative Care in Lincoln County.

Warlick Funeral Home is serving the family.

Obituary from the Lincoln Times-News

We’ll Miss you Aunt Irene

15 09 2008

This post is in memory of my Great Aunt Irene Rudisill Saunders.

Yesterday, I went to one of the most touching and inspirational graveside memorial services I’ve ever been to.  Given I’ve been pretty lucky and not too many of my close family have passed away, this was definitely a moment to remember.

My Great Aunt Irene was a wonderful woman, always helping others all her life.  The way Aunt Irene lived her life makes you want to be more like her and makes you want to help others less fortunate, or really anyone that needs help.   It was amazing how she could remember every little detail of so many peoples lives.  She was a staunch democrat and was always expressing her views to others.  I truly believe that many of my personal views were shaped by her.  She helped raise me when I was really young, and I really loved going to visit her and playing at her house.  These are some of my earliest memories that I treasure and I will be writing about them here so I never forget them.

I feel very fortunate that I was able to bring my new baby girl Charlotte to visit with Aunt Irene a few months ago.  She’s way too young to remember it, but I took some nice pictures of them playing and also a video of one of her classic stories about how I acted as a boy.  She never let me forget that it’s not whether you win or lose, its how you play the game.

Irene and I always played cards.  She usually let me win, but one time I lost a game I got mad and told her, “I’m not gonna be your friend anymore.”  Over the years I’ve heard this story an amazing number of times and it was always the same, especially the way she told the story and her voice and tone that made the story great!

Over the years it was harder to go visit with Irene, but lately I was able to reconnect with her before she passed away and I cherish those moments.  Every Christmas when I was able to pick her up and take her to our Christmas gatherings was also a joy and it was very evident that even though her body was tired, her mind was as sharp as a tack.

We will all miss Aunt Irene greatly, but she will live on in so many peoples lives and memories.  Most certainly in my life and I will always remember her dearly.