Hello everyone!
I've run into a big problem and had no idea how bad it was until I started tackling the GC. I have my terrain in chunks and I load in new chunks as the player walks around in another thread. During the loading, and I've narrowed it down to when using binaryreader, I see massive amounts of boxing. This causes the GC to be called about 16 times in a row. This problem only exists on the XBOX and when testing it on my PC, my PC and CLR profiler doesn't show any problems. My google fu has failed me as I can't find much anyone else talking about using binaryreader with xbox. I tried using xml earlier in the development but the files ended up being huge. I have to really crunch the data down so it'll all fit. Anyone got any ideas or leads? Appreciate your time!
(Btw, pic of remote performer during the 3-5 seconds when loading data, and a link to a portion of my loading method if anyone is curious)
http://pastebin.com/cTUvaUA8
Problem with binaryreader causing boxing/GC issue on XBOX
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement