[ian-reeds-games] Re: Memory problems

  • From: "Allan Thompson" <allan1.thompson@xxxxxxx>
  • To: <ian-reeds-games@xxxxxxxxxxxxx>
  • Date: Tue, 23 Apr 2013 03:44:52 -0400

Dickson and Ian,
Ian, I think Dickson has a point, so hopefully tomorrow I can clean it up a 
bit. 

Thaks Dickson for the suggestion.

Ian, thanks for the no drop items flag! It makes such a huge idffrence, that 
one little flag, lol.
Also the key config is really cool!
Well, I'm off to bed. Goodnight,
al 



"The truth will set you free"
Jesus Christ of Nazareth 33A.D.
  ----- Original Message ----- 
  From: Dickson Tan 
  To: ian-reeds-games@xxxxxxxxxxxxx 
  Sent: Tuesday, April 23, 2013 3:20 AM
  Subject: [ian-reeds-games] Re: Memory problems


  Hi Alan

   

  Even if converting the wav files to mp3 doesn’t help with memory usage, it is 
probably still a good idea to do it especially since so many tools exist to do 
it and if there are a lot of sounds involved. Being able to substantially 
reduce the size of the map pack downloads is always a good thing.

   

  From: ian-reeds-games-bounce@xxxxxxxxxxxxx 
[mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Allan Thompson
  Sent: Tuesday, April 23, 2013 9:44 AM
  To: ian-reeds-games@xxxxxxxxxxxxx
  Subject: [ian-reeds-games] Re: Memory problems

   

  Maybe I can go thru my sounds and  turn them into mp3 and get rid of anything 
excessive to lower that memory useage till Ian is able to fix that.

   

  Do you think that would help the map pack move a little faster? I only 
noticed lags during large combats with lots of ships.

   

  al

  "The truth will set you free"
  Jesus Christ of Nazareth 33A.D.

    ----- Original Message ----- 

    From: Carlos Macintosh 

    To: ian-reeds-games@xxxxxxxxxxxxx 

    Sent: Monday, April 22, 2013 8:22 PM

    Subject: [ian-reeds-games] Memory problems

     

    I was running tb and playing Allan thompson’s starship battles map pack. It 
as being all laggy. I am using a computer running a 2ghZ core 2 duo processor 
with 3GB of ram. That’s fairly speedy. Now, when I started Allan thompson’s map 
pac, and played through a couple maps, the game began to get all laggy. Like it 
took a second or two to process commands. I' don’t think that the map pack is 
the problem, but the handling of resources. Even just on the main menu at game 
startup the game consumes 46mb of memory. When I loaded up tomb robber, the 
memory usage jumped to 80 mb. When I returned to the main menu quitting tomb 
robber, the memory usage stayed at 78mb. That in itself is strange, unless you 
never unload the material used by tomb robber, which is my theory. Well, then I 
decided to start starship battles reloaded on mission 1. It took a while, and 
when the map loaded memory usage had spiked to 158 mb! Upon returning to the 
main menu, memory usage was still 152 mb. I loaded up a second map from the 
starship battles pack, and, again, the memory usage spiked to 234 mb. My theory 
is that it loaded up all the sounds and music, ALL OVER AGAIN, which 
contributed to the map’s glacial start time. And it never unloaded them, which 
spiked the memory usage. So, after playing 5 or 6 of those star trek maps, and 
loading 5 or 6 sets of the 94 or so mb of sounds and music, memory usage could 
go well above 5 or 600 mb. This is not a good thing, and, as map pack sizes 
grow, the damage will be more pronounced. I suggest the following: 

    instead of returning a user to the main menu upon victory or defeat of a 
map, return them to the menu containing all the maps in the current campaign. 
If they press escape to close that menu, unload everything about the campaign. 
Also change the option on the battle menu from “return to the main menu” to 
“Return to map selection” and return the user to the map selection menu. This 
way, time would not be wasted loading and unloading the same campaign material 
whenever a user stoped playing 1 map of a campaign and switched to another. 
Plus, most users, as they play a campaign, will go to the next mission. So it 
saves time as well. I hope this is helpful, and not just annoying

    Thanks

    Carlos

Other related posts: