Home Forums HTBasic Forum Memory overflow

This topic contains 2 replies, has 2 voices, and was last updated by  ZeRider 2 months, 2 weeks ago.

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

    ZeRider
    Participant

    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)

    #584

    RMK
    Participant

    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.

    #585

    ZeRider
    Participant

    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.