Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Memory management problem  (Read 2659 times)

0 Members and 1 Guest are viewing this topic.

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Memory management problem
« on: January 28, 2007, 10:29:44 PM »

Hi Wintermute folks.

We have following two problems, ok, at least problem is not the right word, desaster seems to be better.

A few test runs of our current version causes following things:
The actual package size is about 500MB, still growing larger and larger. Starting the game, WME loads all the 500MB in RAM!
That is problem enough, but it is going even farther:
Loading a savegame, WME loads the next 500 in RAM, 1GB over all, cause the first 500 ain't getting unloaded.
Loading the savegame again: 1,5GB in RAM, WME crashes, because Windows doesn't want to die...

Ok, any suggestions? I believe, at least I hope, that the error is on our side.
Help, please.

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Memory management problem
« Reply #1 on: January 28, 2007, 10:58:25 PM »

It's not your problem. There seems to be some memory leak related to 3D characters (it doesn't happen with 2D characters). I'll investigate and let you know.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: Memory management problem
« Reply #2 on: January 28, 2007, 11:09:46 PM »

OK, that souds very bad...
Some statistics for you, while trying:
Deactivating all actors decreased the RAM usage to about 23MB, activating the main actor (only this one) pushed it 300MB.
The actor needs only 14MB hard disk usage.

Please make as fast as you can, it is really urgent.
 

Page created in 0.112 seconds with 19 queries.