Disapearing session data in ASP.NET

December 20, 2008 · Comment 

A couple of days ago a colleague called me because the session state kept disapearing in his ASP.NET application.

He was running the application in a virtual machine and had a nagging feeling that this was the cause of the problem.

A few basic questions later it struck me that he probably had not changed the memory settings of his virtual machine.

It was still running on the default 128 MB so every time he reloaded the offending page the ASP.NET application pool was restarted because of memory constraints.

So if you are running server software in a virtual environment; remember to allocate enough memory to keep it going.

Suffering through a Visual Studio installation in VMware

October 16, 2007 · Comment 

It is painfully slow to do disk intensive things in a virtual environment on my laptop. The disk, and hence the laptop, is getting very hot. I forgot to bring my Zalman laptop cooler to work today. A mistake I get punished for now. It is not just hot as h..l it had the sound characteristics of a hairdryer. With the cooler attached I have to stress the laptop a lot before it gets really hot.

I’ve got an Acer 8204 and the disk is just a 5400 rpm. I think Acer opted for space instead of speed when they specced it. At home I have my virtual disks on an external drive and there I really like working in the virtual environments. Currently I have to force my laptop into the backpack so I have to leave the drive and cooler at home when I go to new workplaces. I think I will have to beg for a new laptop backpack so I can carry all my stuff. It is the closest thin I come to an office so I think it is worth the cost.

Using VPC-images in VMWare

November 28, 2006 · Comment 

In this article there are some tips for running VPC-images in VMWare.

Since I mostly run Ubuntu at home this might help me evaluate some server products from Microsoft.