Anyone know why a TCP Server need more Resources (CPU/RAM) as a Console Application?
![[Image: PL2azaH.png]](https://i.imgur.com/PL2azaH.png)
DISCORD: xexghosted
(09-04-2019 - 03:43 AM)DreadBot Wrote: Anyone know why a TCP Server need more Resources (CPU/RAM) as a Console Application?
(09-05-2019 - 07:42 PM)LastingNewbie Wrote:(09-04-2019 - 03:43 AM)DreadBot Wrote: Anyone know why a TCP Server need more Resources (CPU/RAM) as a Console Application?
Probably because you use many instances of an object.
I would advise you to learn how to use to dispose objects or how to use the garbage collector.
For the CPU, if your listener uses Multi-Threading, you could check how to limit the threads.
It's hard to explain what's really wrong without your code.
I see that you are running a 32 bits application, can you check if your OS is installed to use 32 or 64 bits ? 64 bits is much better.