473,387 Members | 1,512 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.

Out of Memory exception while retrieving data

Hi,

I am currently involved in development of customer database. This database contains around 150,000 records. We have a search screen where users may search customers. However when search to retriev all records is fired, we recieve out of memory exception. When we verified the server resources, there was 600MB of ram available and 80GB of disk space. Also afetr waiting for few minutes, if we search again using filtering criteria to reduce the number of customers then the page works fine.

We also found out the following link at MS site which somewhat matches our problem situation. http://support.microsoft.com/?kbid=825680

Regards,
PVV30

Nov 18 '05 #1
2 1530
CMA
since u r talking about a web application, it may not be a problem of ur
server. did u checked in the client computer resourses? is it also have lot
of free RAM and disc space?

to solve this, use pagination in DataGrid.

regards,
CMA

"PVV30" <PV***@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.com...
Hi,

I am currently involved in development of customer database. This database contains around 150,000 records. We have a search screen where users may
search customers. However when search to retriev all records is fired, we
recieve out of memory exception. When we verified the server resources,
there was 600MB of ram available and 80GB of disk space. Also afetr waiting
for few minutes, if we search again using filtering criteria to reduce the
number of customers then the page works fine.
We also found out the following link at MS site which somewhat matches our problem situation. http://support.microsoft.com/?kbid=825680
Regards,
PVV30

Nov 18 '05 #2
depending on how many columns you have for your dataset, it may consume over
200megs for the 150k records. couple that to what the system is already
using and a you will be stressing the server. In addition, the link
describes what is known as the VLO (very large objects) bug which is what
you are running into.

From a design point of view, there should NEVER be a need to bring back that
many rows into a webpage. your design should center around making *chatty
calls to the server instead of *chunky calls. Put another, go get small bits
of data as opposed to one big nasty dataset.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"PVV30" <PV***@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.com...
Hi,

I am currently involved in development of customer database. This database
contains around 150,000 records. We have a search screen where users may
search customers. However when search to retriev all records is fired, we
recieve out of memory exception. When we verified the server resources,
there was 600MB of ram available and 80GB of disk space. Also afetr
waiting for few minutes, if we search again using filtering criteria to
reduce the number of customers then the page works fine.

We also found out the following link at MS site which somewhat matches our
problem situation. http://support.microsoft.com/?kbid=825680

Regards,
PVV30

Nov 18 '05 #3

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

Similar topics

3
by: alanrn | last post by:
I would like to start a dialog on how to implement the equivalent functionality of UNIX shared memory in .NET. I work with a factory automation system. The bulk of the system is written in C/C++....
6
by: Ganesan selvaraj | last post by:
I using C# .net. i want to split the text files based of the some condition. my source text file size may be 4 kb to 4 gb. some time when i split the i got the "out of memory exception. when i...
3
by: Professor Frink | last post by:
First off, I apologize if this gets long. I'm simply trying to give you all enough information to help me out. I'm writing (almost finished, actually), my first VB.Net application. It's a forms...
1
by: Brandon Langley | last post by:
I have this structure that I am using in conjunction with NetLocalGroupAddMembers: public struct LOCALGROUP_MEMBERS_INFO_3 { public string lgrmi3_domainandname; } I am having failures...
2
by: M.Ob | last post by:
Hello... I am having issues with my asp.net apps not releasing memory. The memory usage for the process w3p.exe continues to grow to it's allowable limit and does not drop until the app pool is...
4
by: Craig831 | last post by:
First off, I apologize if this gets long. I'm simply trying to give you all enough information to help me out. I'm writing (almost finished, actually), my first VB.Net application. It's a forms...
7
by: brett.estabrook | last post by:
I have written a multi-threaded c# windows service in .net 1.1 (Visual Studio .net 2003). The service has several threads that poll a Sql 6.5 database on another machine. Each thread will execute a...
2
by: Lambda | last post by:
I'd like to load a lot of data into a hashtable, when the memory is used up, I'll write the data to a file. I'm trying to use std::tr1::unordered_map to implement that. My question is if I...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.