Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Heap help
Wow, something's really wrecking my heap. I set it to 8000 bytes and at startup it shows 7787 bytes free for both memavail and maxavail.

However, after my first chunk of game setup code runs something REALLY weird happens - both values can show completely crazy numbers. The screen I'm looking at right now is showing 37612 for memavail and 52373 for maxavail, but it doesn't seem to happen every time and the numbers are nearly always different every run (possibly due to my relying heavily on random numbers during the game setup).

I'm going to try to narrow down exactly where this is happening by knocking out pieces of code and seeing what effect they have, but do you have any ideas what kind of thing could cause something like this?

Messages In This Thread

Forum Jump:

Users browsing this thread: 1 Guest(s)