Hi
I have a c# .NET application that is crashing out with a low Virtual Memory error. After watching the VM column in Task Manager I can see that VM is slowing going up and not being released. The ood thing is that the physical memory is being released as expected. Im not an expert on .NET memory management, but I thought the CLR should be managing this and wouldnt treat VM differently to PM. Im calling System.GC.Collect(), even though in theory I shouldnt have to. My PH is 256mb my VM is 500mb, I could increae it but it is not solving the problem.
I have looked at the application through .NET memory profile and the memory is being held in Commited Memory\Shared\<Other> section so that doesnt help.
My application uses a COM control that performs a sildeshow and I think that this is where the problem may be.. but cant be sure. It seems that the more images I load in the more VM used and not given back. Even though the images are fed one at a time. The control doesnt use memory when used in VB 6, so Im assuming its not the control. Any ideas on where to go next? Is there a seperate way to manage VM?
Thanks
I have a c# .NET application that is crashing out with a low Virtual Memory error. After watching the VM column in Task Manager I can see that VM is slowing going up and not being released. The ood thing is that the physical memory is being released as expected. Im not an expert on .NET memory management, but I thought the CLR should be managing this and wouldnt treat VM differently to PM. Im calling System.GC.Collect(), even though in theory I shouldnt have to. My PH is 256mb my VM is 500mb, I could increae it but it is not solving the problem.
I have looked at the application through .NET memory profile and the memory is being held in Commited Memory\Shared\<Other> section so that doesnt help.
My application uses a COM control that performs a sildeshow and I think that this is where the problem may be.. but cant be sure. It seems that the more images I load in the more VM used and not given back. Even though the images are fed one at a time. The control doesnt use memory when used in VB 6, so Im assuming its not the control. Any ideas on where to go next? Is there a seperate way to manage VM?
Thanks