.Net memory usage
Ok, I know that when you view the memory usage of a .net program, a bulk of the memory shown is the framework. However, I am curious if there is a way to reduce this? Currently, I have a program that finds the handle of window and then depending on if my mouse is near the side of my screen or if the window is active, display the window and if not, hides it. There is no way that this takes between 11 Mb and 13 Mb, but no matter what I try, I cant get this any smaller. So, just wondering if there is anything I should try or do to get this to be smaller (or appear to be smaller).
One thing I am currently doing is hiding my form as soon as the program starts cause it isnt needed. The only thing I need is a notify icon with a context menu to exit. So is there a way to get a program to run without using window forms and still have the notify icon?
Anyways, thanks
Edit: Well I found -->this<-- (its a google cache cause the page couldnt be found). This drops me down to around 2 Mb, which is still kind of big for what im doing but its better than before. Still if anyone knows of anything else I could do, it would be appreciated
Ok, I know that when you view the memory usage of a .net program, a bulk of the memory shown is the framework. However, I am curious if there is a way to reduce this? Currently, I have a program that finds the handle of window and then depending on if my mouse is near the side of my screen or if the window is active, display the window and if not, hides it. There is no way that this takes between 11 Mb and 13 Mb, but no matter what I try, I cant get this any smaller. So, just wondering if there is anything I should try or do to get this to be smaller (or appear to be smaller).
One thing I am currently doing is hiding my form as soon as the program starts cause it isnt needed. The only thing I need is a notify icon with a context menu to exit. So is there a way to get a program to run without using window forms and still have the notify icon?
Anyways, thanks
Edit: Well I found -->this<-- (its a google cache cause the page couldnt be found). This drops me down to around 2 Mb, which is still kind of big for what im doing but its better than before. Still if anyone knows of anything else I could do, it would be appreciated