473,413 Members | 1,778 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,413 software developers and data experts.

system out of memory exception

17
hi,
In my application I have to populate a grid with 10000 records at a time.So when multiple users open the screen and try to retrieve the data,the IIS server is unable to hold the huge amount of data and its throwing system out of memory(cache memory) exception.
Front end of the application is :ASP.Net using VB
Back End is Sybase.Please let me know if u have any solution to this problem.thank u.
Dec 28 '06 #1
5 7825
sashi
1,754 Expert 1GB
hi,
In my application I have to populate a grid with 10000 records at a time.So when multiple users open the screen and try to retrieve the data,the IIS server is unable to hold the huge amount of data and its throwing system out of memory(cache memory) exception.
Front end of the application is :ASP.Net using VB
Back End is Sybase.Please let me know if u have any solution to this problem.thank u.
Hi there,

You can try to increase the script timeout properties. Another option will be increasing the cache (paging) memory, hope it helps. Good luck & Take care.
Dec 28 '06 #2
devathi
17
hi,
Can u please elaborate on the solution, how to increase the cache memory.I am not getting what do u mean by script time out properties?
Dec 28 '06 #3
sashi
1,754 Expert 1GB
hi,
Can u please elaborate on the solution, how to increase the cache memory.I am not getting what do u mean by script time out properties?
Which OS are you currently working on? Kindly follow steps below to change cache (pagefile) size,

Desktop > MyComputer > Right Click > Select Properties > System Properties Dialog Box > Select Advance Tab > Click on Performance Options > Performance Dialog Box > Click on Change button> Now you should be able to change the Initial size & Maximum size values accordingly.

Since you are working on ASP.NET add the below line of code right before your query part begins, hope it helps. Good luck & Take care.

Expand|Select|Wrap|Line Numbers
  1. <% Server.ScriptTimeout = "change_this part_to_whatever_value_in_second(s)" %>
  2.  
Dec 28 '06 #4
devathi
17
Suggest solution for increasing the cache size in Windows 2003 professional.
Dec 28 '06 #5
sashi
1,754 Expert 1GB
Suggest solution for increasing the cache size in Windows 2003 professional.
Hi there,

Am not sure about doing it in Windows 2003, anyway, try the below method, hope it works. Good luck & Take care.

Desktop > MyComputer > Right Click > Select Properties > System Properties Dialog Box > Select Advance Tab > Click on Performance Options > Performance Dialog Box > Click on Change button> Now you should be able to change the Initial size & Maximum size values accordingly.
Dec 28 '06 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Aravind | last post by:
Hi, I am ruuning to out of memory exception , My system has RAM of 4 GB and virtual memory paging size set to 4GB .When I check the memory occupied by the process during the exception , it is less...
3
by: anastasia | last post by:
I get an out of memory exception when attempting to excecute the following code: original = System.Drawing.Image.FromFile(file.FileName,true); I ONLY get this exception when the file is in the...
2
by: P K | last post by:
Hi, I have around 30 fields on a screen each one of which I need to validate. The idea was to have a set of messages to be displayed for all the posiible errors instead of having to show a...
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....
10
by: 123456prakash | last post by:
Hi all , I am new to this . This is my first post . I really need some help from you all members of this forum. My situation is something like this . I am communicating with 2 system .Both the...
2
by: =?Utf-8?B?SXJmYW4=?= | last post by:
Hello, It may be a repeated question but I don't find the solution to the situation that I encounter in it. My application is monitoring another application that is built in VB6. The...
6
by: sternr | last post by:
Hey, When I try to run the following code: System.Drawing.Image tiffImage = System.Drawing.Image.FromFile(@"C: \Image.tiff"); I get an "Out Of Memory" Exception. Does anybody know how...
2
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi Guys, I have a real serious problem that stoped me doing any progress in my project. in one of my webpages I have a wizard of more then 13 pages and in every page some Ajax controls,...
3
by: sriram347 | last post by:
Hi I am a newbie to ASP.NET. I developed a web page (project type is web application) and I keep getting this error. B]Error message : "System.AccessViolation Exception attempted to read or...
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: 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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.