Home Forums HTBasic Forum Memory overflow

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #583

      Do you know what is the good method to clean the memory in HTbasic ?
      ALLOCATE and DEALLOCATE seem to create an error after some time in program like if the memory are saturated (ERROR 2 Memory overflow)


        I do not have a specific answer to your quest about clearing memory. I solve most of my memory problems by specifying more memory to be allocated as Basic is starting. For example I use “C:\Program Files (x86)\HTBwin10\HTBwin.exe” -w 128m in the properties /shortcut window. The -w 128m starts Basic with 128Meg of memory to operate in (a lot more than the default amount). Perhaps you know this already and are working with huge data structures…someone with more experience than I might know how to recover memory dynamically.


          Hi RMK,
          yes I already use the allocated memory when I start HTBasic.
          The instruction or method I’m looking for is what you name the “dynamically memory recover” …

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.
        Scroll to Top
        HTB icon

        Please Sign In