Skip navigation

JSI Tip 0893. Does a MS-DOS application continue to use increasing amounts of memory until it quits?

Each time a MS-DOS application does a directory search, it consumes 1 - 2 KB of memory. If the program does repeated searches that never complete, or it never specifically deallocates the memory, memory usage continues to grow until you exit the application or it terminates.

If you have a MS-DOS program that exhibits this behavior, it needs to be re-written.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.