473,493 Members | 3,174 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

asp.net out of memory on transform why? Is there thread limit?

I'm creating Word 2007 reports in asp.net 1.1 via xml transform.
I get data from the SQL server in .5 sec., first transform takes less than a
sec. and uses 10MB.
I have 900MB free memory of the 2GB memory.
On following reports generations, I get out of memory on the transform
command and only half the file is written before it breaks.
The asp.net memory limit isn't at 60%, I even set it to 100% but still get
the same error.

Is there a thread memory limit?
Any help would be appreciated.

Thanks in advance,

Donald
Mar 27 '07 #1
2 1431
Afraid you will need to post "just enough" sample code on this so people can
see what you are doing. Most likely there's an error in your code - not
closing or disposing some object, or the like. When you say "uses 10MB" -
what criteria are you using to determine this?
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Donald Adams" wrote:
I'm creating Word 2007 reports in asp.net 1.1 via xml transform.
I get data from the SQL server in .5 sec., first transform takes less than a
sec. and uses 10MB.
I have 900MB free memory of the 2GB memory.
On following reports generations, I get out of memory on the transform
command and only half the file is written before it breaks.
The asp.net memory limit isn't at 60%, I even set it to 100% but still get
the same error.

Is there a thread memory limit?
Any help would be appreciated.

Thanks in advance,

Donald

Mar 28 '07 #2

I will post some code later, but if it works ok on first try (as in first
person to touch the web), should not each new connection be a new thread and
also in that sense be as the first? Even if I wasn't disposing (I am) that
should only be the problem for that thread. Even if I did not release
memory why does it say out of memory on the transform when I have 900MB
free?
I have try catches for each step, getting data from SQL, etc. It's on the
transform that it gets caught and displays the error.
I watched the actual aspnet process and it increased 10MB in memory... and
I'm the only one using the webserver. I know it's just a rough estimate.
The point is it that the process increased 10MB, second time increased that
much more and got memory error while 900MB free.

,,,Donald
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:2D**********************************@microsof t.com...
Afraid you will need to post "just enough" sample code on this so people
can
see what you are doing. Most likely there's an error in your code - not
closing or disposing some object, or the like. When you say "uses
10MB" -
what criteria are you using to determine this?
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Donald Adams" wrote:
>I'm creating Word 2007 reports in asp.net 1.1 via xml transform.
I get data from the SQL server in .5 sec., first transform takes less
than a
sec. and uses 10MB.
I have 900MB free memory of the 2GB memory.
On following reports generations, I get out of memory on the transform
command and only half the file is written before it breaks.
The asp.net memory limit isn't at 60%, I even set it to 100% but still
get
the same error.

Is there a thread memory limit?
Any help would be appreciated.

Thanks in advance,

Donald

Mar 30 '07 #3

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

Similar topics

31
9766
by: lawrence | last post by:
I'm not sure how this is normally done, on a large site, perhaps one running Phorum. Occassionally a thread will have hundreds of entries, perhaps a meg or two worth of data. You won't necessarily...
11
2769
by: jong | last post by:
I have a problem with an C# application. The application is a 24x7 low volume message processing server. The server has a single thread of processing, running in a continuous loop, for each...
1
5495
by: 1944USA | last post by:
I have a C# application written as a Windows Service. It spawns a number of threads, each thread has very large memory intensive processes running on it. I can keep adding threads as long as the...
1
1689
by: Yuriy | last post by:
Hi, Can anybody explain the following? Say I have the following source XML and XSLT (see below). No matter what this XSLT does. It is just a sample to show a problem. the idea is that XSLT...
15
2157
by: Alexis | last post by:
Hello, I'm working on a project that uses over a hundred XLSs for transforming xml documents. The project consists of several webservices (IIS) calling a few dlls. This dlls make the business...
10
3780
by: VM | last post by:
How can I limit the use of the PC's virtual memory? I'm running a process that basically takes a txt file and loads it to a datatable. The problem is that the file is over 400,000 lines long (77...
0
1837
by: Tomas | last post by:
I have two questions: (1) How (if possible) can you, with ASP.NET (and with the IIS 5 included with win2000) specify an maximum limit of the memory that a web application may consume, as an...
7
1678
by: Malcolm Klotz | last post by:
Hello, I have created a Windows Service application in VB.Net 2005. The service is pretty basic, it uses the System.Timers.Timer class to poll a database that checks for jobs to perform. Upon...
81
4473
by: Peter Olcott | last post by:
It looks like System::Collections::Generic.List throws and OUT_OF_MEMORY exception whenever memory allocated exceeds 256 MB. I have 1024 MB on my system so I am not even out of physical RAM, much...
0
6989
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
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7195
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...
1
6873
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
7367
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5453
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,...
1
4889
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1400
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
644
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.