View Single Post
  #1 (permalink)  
Old April 29th, 2008, 09:39 PM
Juan Patrick Juan Patrick is offline
Registered User
Join Date: Jun 2007
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default "OutOFMemoryException"

I am working in Visual Studio 2005, and am running a model that is meant to run through 500000 clients, and project things for them 25 years in the future.

In each years loop, different dll functions are called and values obtained.

The model runs though around 300000 clients successfully before crashing with the "OutOfMemoryException" message. Under numerous runs, it has been seen that no particular borrower, or no particular dll function is the source of the problem, but it always crashes on a dll function.

I have tried to clear memory by using GC.Collect(), but it has made no difference.

Is there anything I can be looking at to clear memory, help the programme run though?