tasclient.exe take a lot of RAM
Moderator: Moderators
tasclient.exe take a lot of RAM
Hello,
Why does it take so much memory:
46Mo private bytes
89Mo virtual memory
lobby/cache/map : 25.5Mo
maps/ : 1.7Go 168 files
Why does it take so much memory:
46Mo private bytes
89Mo virtual memory
lobby/cache/map : 25.5Mo
maps/ : 1.7Go 168 files
-
- Posts: 36
- Joined: 22 Nov 2006, 23:48
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.
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.
- Deathblane
- Posts: 505
- Joined: 01 Feb 2006, 01:22
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49