AndyL

How much RAM is left to play with on the 360 once the launcher and runtime has loaded

Re: XNA Framework Runtime footprint on 360

Jon Watte

One way you could find out for yourself:

public static void MeansureMemory() {
object[] stuff = new object[512];
int count = 0;
try {
while (count < 512) {
stuff[count] = new char[1024*1024];
++count;
}
}
catch (System.Exception x) {
x = null;
}
Console.WriteLine("There are approximately {0} megabytes available.", count);
}

Please report the result back to the group!





Re: XNA Framework Runtime footprint on 360

AndyL

That would only let me know the available managed heap space - I'm assuming there is an unmanaged heap knocking around as well.

An official breakdown of memory allocation would be useful as well - for instance, do the managed and unmanaged heaps fight for space, or do they have their space already allocated. And what goes into each heap when stuff is created - for instance with vertex/index buffers, textures, sounds.