OutOfMemory Exception

  • Thread starter Thread starter Diablo
  • Start date Start date
D

Diablo

Hi,

I'm working on medium size project in C#.
The project involves working with an Access database through the Jet
engine.
I have almost completed the project and now i am doing some testing.
I've noticed that when starting the application its memory load its
rather small (around 30MB). After running the app for about 2 hour its
memory load reaches 50MB. After continuing to run the app for some
time, it launches an OutOfMemory exception.
The system on which i'm performing the test has 512MB RAM; it shouldn't
be a problem.
I'm aware of IDisposible classes and use them in "using" statements.

Has anyone experienced the same problem? What solutions do you see?
Thanks,
Diablo
 
I get a memory problem with one application that from time to time, I have a
timer that verifies some things, and every minute the application get 4Kb
more the memory in a long run-time, the application gets 100 MB or more,
doing a research (in the code) the application uses a temporary variable
that get the extra memory every time, I changed the code and the application
works without trouble and uses the same amount of memory all the time, and I
Guest that maybe that will be you case.
 
Back
Top