Could Someone Explain This?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
GAB
1st Lieutenant
1st Lieutenant
Posts: 431
Joined: Sun Jul 03, 2011 8:56 pm
Location: Somewhere around the world
Contact:

Could Someone Explain This?

Post by GAB »

Today I've been working on trying to correct a few issues on my current work in progress map and typed the "mem" command on the debugger (BF2_modtools.exe) to see what it would spit out for me. Just for the sake of having an idea of where I am, I also run a "mem" on the generic map (the one you get when you make a new data_ABC folder with VisualMunge).

I compared the results and they seemed at least contradictory and confusing. Below they are:

Kothlis map:
Hidden/Spoiler:
Heaps
Application: 14750656 free of 15990768
Gamespy: 2097136 free of 2097136
Debug: 3145680 free of 6291456
Lua: 15341988 free of 16777216
Artist: 8192 free of 8192
Runtime: 17359584 free of 32235168
Animation Memory used 454558 bytes
(null): 0 free of 0
ProfileView: 501920 free of 1572848
HUDEditHeap: 957696 free of 1048560
Sound Memory 15212160 free of 33554432
Pool Memory -550104 free of 4194304
Graphics Memory (4604760 bytes)
Texture: 0 bytes
Static Vertex Buffer: 3730992 bytes
Dynamic Vertex Buffer: 0 bytes
Index Buffer Memory: 873768 bytes
Generic map:
Hidden/Spoiler:
Heaps
Application: 14750256 free of 15990768
Gamespy: 2097136 free of 2097136
Debug: 3145680 free of 6291456
Lua: 15345908 free of 16777216
Artist: 8192 free of 8192
Runtime: 18520640 free of 32235168
Animation Memory used 730041 bytes
(null): 0 free of 0
ProfileView: 501920 free of 1572848
HUDEditHeap: 957696 free of 1048560
Sound Memory 9400576 free of 33554432
Pool Memory -574040 free of 4194304
Graphics Memory (3739148 bytes)
Texture: 0 bytes
Static Vertex Buffer: 3129180 bytes
Dynamic Vertex Buffer: 0 bytes
Index Buffer Memory: 609968 bytes
My questions are:

1. Why do I have more free Pool Memory and Sound Memory in the Kothlis map than in the Generic map? Shouldn't it be the opposite? (Also, what is Pool Memory?)

2. Why is the free Pool Memory negative in a newly generated untouched generic map? Most stock maps have positive values here and are finished works, so why a map as simple as the Generic map (we all know what it looks like) has a negative (which I presume is the map going above memory limit for that) value for free Pool Memory?

BONUS QUESTION: What is each of those memories related to?
Post Reply