Frictional Games Forum

Full Version: Memory management
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Misha

So I hope you would have this stuff on mind. As far as I noticed, amount of memory which game use grows from the beginnig to the end, with very small, temporary falls. I had not time to make histogram, but I can say the total memory charge which game used on the end was 536MB on my system. Memory usage growed even when I return in the room I was already in. Dunno... memory management would need some redesign. Due to the time which passes without new allocations, parser might be in the same state (just blind shot, you know the best how it all works).

As well I noticed that new modules are loading not only during the "loading..." screen but in the certain moments of gameplay as well. This for sure cause short freezings on the slower systems because chunks of 30MB, for instance, can be hardly just ignored. Suggestion would be to load everything needed before the player is let to play.
Reference URL's