Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clarification about HEAP
#2
You did right!! 8)
What was happening was an out of memory crash (there's a compiler switch to add tests for that).
The program compiles no heap if no strings are used. :!: So no need to set this to 0.
If you print some string into the screen you're actually using the heap (it depends on some optimizations; the compiler will try not to use it whenever possible).
128 bytes for temporary string management is really small! So better leave it as is. I don't recommend to set this value to something < 128. The heap area starts just after your program to the end of memory.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)