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