Why XslTransform.Transform doesn't utilize the entire page file?

  • Thread starter Thread starter Alfred Taylor
  • Start date Start date
A

Alfred Taylor

I have a large XML document (~50mb) which I'm trying to transform, however,
it fails with an OutOfMemoryException.

When I look at the memory and page file usage statistics, I notice that the
page file wasn't used up completely before the exception was thrown. I have
the page file set to 4gb now, but just about 1gb was used before it failed.

Does anyone have any ideas?

Thanks,
Alfred
 
As I recall, Win2K and XP only allow 2GB of addressable space in user land
and another 2GB in kernal land. It may realize long before it's done that
it's not going to have enough free memory to complete or it may be trying to
do a large allocation that's failing.

Just a thought.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top