Forum posts for smss.exe

how to compile to reduce memory /STACK doesn't seem to change anything?

I create a lot of simple programs, which don't need any memory, but they always show around 1MB-1.6MB memory in the private memory column in task manager.

I read that the default stack size is 1MB for linking with link.exe, i tried playing with /STACK like this :

/STACK:65536 (64kb)
/STACK:16777216 (16mb)


when i run the program, the memory hasn't changed at all..

Even a simple program like this, using 1.6MB compiled as 64bit with link.exe and no libs (simple.c):

#include <stdio.h>

int main() {
puts('hello world ');
getchar();
return 0;
}


Can anyone tell me how i can reduce the memory on simple programs? i know 1mb isn't much but i'm very curious as there are some windows processes which show very low memory in taskman, e.g. smss.exe is runing 0.4MB private memory with 2 threads.

Thanks!

View complete forum thread with replies

Other posts related to smss.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Can&#39;t list all process on windows 7 64 bit
C# Kill all processes not essential to running Windows
Geting the file size of a system application on windows in C++
how to compile to reduce memory /STACK doesn&#39;t seem to change anything?
custom search bar on my custom homepage
Strange character in textoutput when piping from tasklist command WIN7
Replacing winlogon.exe in windows embedded
Can a wmic processes table (within the command prompt window) be sorted by a value?
Subprocess.Popen() : hide the cmd shell

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.