views:

743

answers:

1

Hi,

My windows application is deveoped on .net 2.0 FW,and build using ANY CPU, development enviroment is 32bit OS + VS2005

Now i am deploying this application on 64bit processoer + 64bit OS it is running slow.

But if i build using x86 (32bit) it is working fine without any issue on 64bit processoer + 64bit OS.

I have 3rd pary comonents like devexpress,janus,txtext,c1zip etc.

Any one can highlight on this.

+1  A: 

64 bit will not always run faster.
The short answer is that 64 bit application consumes more memory (if you have an array of 64 bit pointers it will be larger than array of the same size with 32 bit pointers) More memory means that the garbage collection will work harder.
Read here and here for more details.

In any case you'll have to profile the application and see where's the bottle neck.
(maybe looking at the GC is a good place to start)

Ohad Horesh
Hi is this good to run32 bit application on 64bit PC?regards,Pritesh
Pritesh
There is a small performance hit because of WOW3264 (The virtual machine for running 32 bit applications on 64 bit OS) but I don't think it's significant.This is from the second link I gave:"If you’re running as a 32 bit app on a 64 bit OS then you get all of the 4G address space and all of that could be backed by physical memory (if you have the RAM) even without you using 64 bit pointers yourself."
Ohad Horesh