473,387 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

OutOfMemory Exception

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

Nov 16 '05 #1
1 2129
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.

--
Regards,

Bela Istok
"Diablo" <pa****@go.ro> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
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

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mike Schilling | last post by:
Instances of SystemOutOfMemoryException do not contain a stack trace. Easy test to verify this: class OOM { public static void Main() { try { Object arr = new Object; } catch...
0
by: vMike | last post by:
If a website is running on a shared server and a system.outofmemory exception is thrown, is the error because of my website application or could it be because of anyone's website application. If it...
2
by: Ricky Chan | last post by:
Windows Server 2003 with 2G Ram ,IIS6 -> I have enabled /3gb switch in boot.ini ! -> Machine.config set to 80% memory Limit However, It still throw outofmemory exception when loading large...
1
by: Ricky Chan | last post by:
In the production environment, it always occurs and the worker process did not recycle automatically. Therefore, it make the system service break to client. In development environment, we write...
0
by: Joe Ross | last post by:
(Apologies in advance if there is a better forum for asking advice on this topic). Our ASP.NET application occasionally starts spitting out OutOfMemory exceptions. When this happens, the memory...
5
by: LP | last post by:
Hello, We running VB.NET application which gets massive amounts of data from SQL Server, loads data into DataTables, then re-arranges data into tabular structure and outputs it to a flat file....
2
by: Peter S. | last post by:
I am pulling some data from a source via ODBC and placing the information in a DataSet. The first pull is very large but once that is complete I plan to do nightly pulls to get any new data that...
3
by: Nemisis | last post by:
Hi everyone, Can someone please tell me why my code hits an "out of memory exception" on the below code? All the code does is load some documents from a SQL database and loop through a data...
8
by: Mantorok | last post by:
Hi all I'm populating a DataTable with around 1,500,000 rows, the table contains 4 columns, 3 string columns and a decimal column. However, I keep getting OutOfMemory exceptions when my app...
2
by: sudha reddy | last post by:
Hi, While report button,the following exception is coming System.OutOfMemory Exeception,is there any solution,send me mail. Thanks *** Sent via Developersdex...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.