Page 1 of 1

tasclient.exe take a lot of RAM

Posted: 24 Feb 2007, 22:58
by zyzy
Hello,

Why does it take so much memory:
46Mo private bytes
89Mo virtual memory

lobby/cache/map : 25.5Mo
maps/ : 1.7Go 168 files

Posted: 24 Feb 2007, 23:11
by TradeMark

Posted: 24 Feb 2007, 23:12
by Neddie
That is nothing, trust me.

Posted: 25 Feb 2007, 21:23
by Uberleechen
Until it hits 200MB, I won't be complaining...and I'm on a three-year-old computer.

Posted: 26 Feb 2007, 11:25
by TradeMark
You people seem not understand at all.

I have 1.5GB memory.

But it is not about that do you have enough memory for running it.

We should not waste memory to useless things like loading 400 minimaps into memory. That would be okay if it was some painting program, but this is basically chat client, no need for putting them into memory.

And it also takes some time to load those minimaps to memory, so the mem usage aint only problem, now it takes more than 10 seconds to load lobby client. I have 386 maps, 3.71GB.

Solutions:
1) Read maps TDF data when map changes.
1b) Before doing this, uncompress all maps TDF data to some folder.
2) Read maps minimap from harddrive when map changes.

Posted: 26 Feb 2007, 13:12
by Dragon45
Cue betalord talking about how everyone wanted minimap preloading.



How do pro RTS games handle this? most of them do have minimap viewing...

Posted: 26 Feb 2007, 13:13
by Ishach
i just roll w/ it

Posted: 26 Feb 2007, 13:27
by iamacup
another problem is that it caches all of the chat in every channel all into memory, if you leave it open for like a day sometimes it has memory errors because windows wont alocate it more memory (especialy in debug mode)

Posted: 26 Feb 2007, 15:55
by LordMatt
You can leave it open for days on end without out of memory errors. The issue is with large amounts of spam in pm. Currently the only solution for that is banstix. :twisted:

Posted: 26 Feb 2007, 19:36
by Deathblane
Do most commercial rts's have 350+ maps (that people download and keep).

Posted: 26 Feb 2007, 20:44
by Peet
Starcraft 8)

Posted: 26 Feb 2007, 22:01
by hollowsoul
TASClient caches all lines in chat ?
Maybe user / hardcoded value. So each chat window can only have so many lines. What i do with UnityLobby just my 2c

Posted: 26 Feb 2007, 23:37
by Neddie
P3374H wrote:Starcraft 8)
They have maybe seventy acceptable maps...

Posted: 26 Feb 2007, 23:42
by Peet
Once again, the internets fail to transmit my sarcasm.

Posted: 27 Feb 2007, 14:46
by TradeMark
Internets doesnt support sarcasm yet, wait 10 years.

Posted: 28 Feb 2007, 11:16
by Strategia
TradeMark wrote:Internets doesnt support sarcasm yet, wait 10 years.
Nope, didn't work, it's still impossible.

What?