Memory Limit

T

Todd A

Does anyone know what the Memory Limit for a .NET Windows Form executable?

I have a Forms application that uses a lot of memory, upwards of 400MB. I
am using the default reporting tool that ships with VS.NET, Crystal Reports.
When you export a crystal report to PDF format, the amount of memory used
and the number of pages in the PDF report seem to be correlated, so that
when my PDF report is 2000 pages, the amount of memory necessary is about
2000 times that of a one-page PDF report (just a generalization here).

Under the ASP.NET processModel attribute in the machine.config file, you
have the option to set the [memoryLimit] of the aspnet_wp.exe process in
terms of a percentage. I have been unable to locate anything like this for
a windows form application.

Anyone know of a setting I can use to extend the amount of memory an forms
application can use?

Thanks

Todd A.
 
T

Todd A

Other Information:

The box this program runs on has 2GB of memory, but the windows .exe crashes
after it reaches about 450MB of memory usage, even though there is over 1.6
GB of free memory available.

Todd A.
 

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

Top