Hello!
I made a chat server using lcc-win32, a compiler that I'm happy with, but yesterday I discovered a very unusual thing. A 21kB large executable server takes up ~1.8 MB of RAM as reported by Task Manager ! Now, I may be a control freak about memory, but this is just not acceptable. My application almost has no static data, basically binds a server socket, awaits incoming chat/connections through WM_USER+ messages(async select) , where I make CreateThread() to create thread which reads off data, redistribute it to other clients and ends. I make careful use of my memory, so there is NO memleaks . How can I find out what the hell is going on? Does anyone have an idea? Thanks in advance !