Tasclient out of memory error on loading minimaps
Moderators: Moderators, Lobby Developers
Tasclient out of memory error on loading minimaps
Tasclient throws an out of memory error when trying to load my minimaps, which makes sense, since I have 800+ maps.
Satirik, if you could fix this, it would be awesome!
Satirik, if you could fix this, it would be awesome!
Re: Tasclient out of memory error on loading minimaps
you want me to just stop loading minimaps when oom ? or remake the whole map list to use less memory ? (i won't do the later :D)Beherith wrote:Tasclient throws an out of memory error when trying to load my minimaps, which makes sense, since I have 800+ maps.
Satirik, if you could fix this, it would be awesome!
in the mean time you can disable the minimaps loading
Re: Tasclient out of memory error on loading minimaps
I did disable. It works well like that.
But it still prompts for me to cache the uncached minimaps, even though loading is disabled. Please make it just not prompt if loading is off.
I know that the map list cant use much less ram, since the minimaps are 1 meg each.
Thanks!
But it still prompts for me to cache the uncached minimaps, even though loading is disabled. Please make it just not prompt if loading is off.
I know that the map list cant use much less ram, since the minimaps are 1 meg each.
Thanks!
Re: Tasclient out of memory error on loading minimaps
well, the minimaps in the map list are actually thumbnails 100x100px ... but since the map list is made of controls every map = 1 panel + 3tabs + 1 image + x labels, to make something lighter i should not use controls but just make a huge picture or something like thatBeherith wrote:I did disable. It works well like that.
But it still prompts for me to cache the uncached minimaps, even though loading is disabled. Please make it just not prompt if loading is off.
I know that the map list cant use much less ram, since the minimaps are 1 meg each.
Thanks!
Re: Tasclient out of memory error on loading minimaps
it shows that msgbox when loading ?!?Beherith wrote:I did disable. It works well like that.
But it still prompts for me to cache the uncached minimaps, even though loading is disabled. Please make it just not prompt if loading is off.
I know that the map list cant use much less ram, since the minimaps are 1 meg each.
Thanks!
Re: Tasclient out of memory error on loading minimaps
Yeah, when I start tasclient (thats when the crash happened) it asks me if i want to cache the minimaps of uncached maps, even though minimap caching is off in lobby options.
Re: Tasclient out of memory error on loading minimaps
I also have a different, but more serious issue, every since the .82 update:
When I launch spring from tasclient, spring.exe launches , it shows up in processes, but doesnt show any window, and the infolog doesnt get updated either (doesnt even get to the logoutput initialized part)
Then the exe just stays idle in processes, and does nothing. I show up as ingame even though im not connected.
This happens every map every mod.
Script: (single player)
When I launch spring from tasclient, spring.exe launches , it shows up in processes, but doesnt show any window, and the infolog doesnt get updated either (doesnt even get to the logoutput initialized part)
Then the exe just stays idle in processes, and does nothing. I show up as ingame even though im not connected.
This happens every map every mod.
Script: (single player)
Code: Select all
[GAME]
{
Mapname=Mountain Passes Rev1;
Maphash=2622865031;
[modoptions]
{
StartMetal=1000;
StartEnergy=1000;
MaxUnits=500;
GameMode=0;
limitdgun=0;
ghostedbuildings=1;
fixedallies=0;
maxspeed=3;
minspeed=0.3;
disablemapdamage=0;
deathmode=com;
mo_coop=0;
mo_greenfields=0;
mo_noowner=0;
mo_progmines=0;
mo_preventdraw=0;
mo_noshare=1;
mo_comgate=0;
mo_enemywrecks=1;
mo_nowrecks=0;
}
StartPosType=2;
GameType=Balanced Annihilation V7.18;
ModHash=3008008270;
autohostport=9999;
HostIP=localhost;
HostPort=10000;
MyPlayerName=[teh]Beherith[PiRO];
IsHost=-1;
NumPlayers=1;
[PLAYER0]
{
Name=[teh]Beherith[PiRO];
countryCode=hu;
Rank=6;
Spectator=0;
team=0;
}
[TEAM0]
{
TeamLeader=0;
AllyTeam=0;
RgbColor=1 0.219607843137255 0.219607843137255 ;
Side=CORE;
Handicap=0;
}
NumTeams=1;
[ALLYTEAM0]
{
NumAllies=0;
}
NumRestrictions=0;
}
Re: Tasclient out of memory error on loading minimaps
how is that possible ?autohostport=9999;
Re: Tasclient out of memory error on loading minimaps
I dont know, I just pasted the script generated by tasclient when hosting a game.
Edit: if i drag that script.txt onto spring.exe, it crashes.
Edit: if i drag that script.txt onto spring.exe, it crashes.
Re: Tasclient out of memory error on loading minimaps
latest beta + spring (buggy) + win7 = failBeherith wrote:I dont know, I just pasted the script generated by tasclient when hosting a game.
Edit: if i drag that script.txt onto spring.exe, it crashes.
Re: Tasclient out of memory error on loading minimaps
I get the memory error too when I have to reload my 10 gigs of maps. I've got 6 gigs of ram, but it says that it ran out when my usage hits somewhere around 3.1GB.
I think it's because spring is 32 bit...
Not like it matters too much. I just end TASclient when it runs out, and then let it go cache again. I almost "run out of memory" again before it finishes up the last few maps, but not quite. :D
I think it's because spring is 32 bit...
Not like it matters too much. I just end TASclient when it runs out, and then let it go cache again. I almost "run out of memory" again before it finishes up the last few maps, but not quite. :D
Re: Tasclient out of memory error on loading minimaps
options -> interfaceSatirik wrote:in the mean time you can disable the minimaps loading
Re: Tasclient out of memory error on loading minimaps
Why the hell are minimaps 1 meg? They should be a few KB at most. Even a massive 1000x1000 image of a map shouldn't be 1 meg.
Re: Tasclient out of memory error on loading minimaps
Dont butt into threads you know nothing about, especially not with that know-it-all attitude.
1k by 1k images usually take 3 megs each in ram in order to be displayed (since they gotta be decompressed).
1k by 1k images usually take 3 megs each in ram in order to be displayed (since they gotta be decompressed).