G
Guest
Hi,
I've written a somewhat large program over the years (70.000 lines of code).
When compiling the program I get a 2MB exe file. When running this program I
get an corresponding image in the task manager showing a 40 MB memory
allocation . Yes, the program allocates memory dynamicaly, but no where near
this amout of memory. Of cause I expect some .net stuff is probably also
contained in this allocation. However, if reinstantiating the program several
times, every instance (shown in the task manager) is showing a memory usage
of around 40-50 MB. I thought that code was shared in such scenarios in order
to save memory space.
Q: What si happening in .net?
Q: Is there any flag/compiler option that I can check/uncheck to a smaller
memory allocation.
Best regards
Jesper, Denmark
NB. U.S.A, Congratulation with the election result!!!.
I've written a somewhat large program over the years (70.000 lines of code).
When compiling the program I get a 2MB exe file. When running this program I
get an corresponding image in the task manager showing a 40 MB memory
allocation . Yes, the program allocates memory dynamicaly, but no where near
this amout of memory. Of cause I expect some .net stuff is probably also
contained in this allocation. However, if reinstantiating the program several
times, every instance (shown in the task manager) is showing a memory usage
of around 40-50 MB. I thought that code was shared in such scenarios in order
to save memory space.
Q: What si happening in .net?
Q: Is there any flag/compiler option that I can check/uncheck to a smaller
memory allocation.
Best regards
Jesper, Denmark
NB. U.S.A, Congratulation with the election result!!!.