Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Memory used ?
#7
(03-14-2021, 12:53 PM)georgeo Wrote: Hi Boriel,

The <alloc.bas> is very useful. I've overloaded my printing routine, so it also prints the free heap space and maximum contiguous heap space in the corner of the screen. I can see that, with a 4kb heap, my free space hovers around the 4kb mark for most of the time, while my largest allocatable block drops to around 3.5kb over the course of the program.

For my other post, this suggests that the heap space is not the source of my out-of-memory problems ...

Thanks

If your heap never drops below 3k, for example, you could set the heap to just 1k and use those remaining 3k for anything else.
Reply


Messages In This Thread
Memory used ? - by RandomiserUsr - 03-13-2021, 02:10 PM
RE: Memory used ? - by georgeo - 03-13-2021, 03:02 PM
RE: Memory used ? - by RandomiserUsr - 03-13-2021, 03:16 PM
RE: Memory used ? - by boriel - 03-14-2021, 11:37 AM
RE: Memory used ? - by boriel - 03-14-2021, 11:39 AM
RE: Memory used ? - by georgeo - 03-14-2021, 12:53 PM
RE: Memory used ? - by boriel - 03-14-2021, 04:53 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)