Runtime Error

What Does Runtime Error Mean?

Runtime error refers to an error that takes place while executing a program. As opposed to the compilation errors that occur during a program compilation, runtime errors occur only during the execution of the program. Runtime errors imply bugs in the program or issues that the developers had expected but were unable to correct. For example, insufficient memory can often trigger a runtime error.

Advertisements

Runtime errors usually appear in a message box that includes a specific error code coupled with its corresponding description. It is quite common that the computer becomes noticeably slow prior to the appearance of a runtime error.

Techopedia Explains Runtime Error

When an issue occurs and the software is unable to solve it, it generates a runtime error. Here, the error is generated by that specific software, not by the OS. By means of a self-assessment mechanism known as a trap, the software performs self-diagnosis and recognizes that it cannot proceed further, leading to a runtime error. When the runtime error is displayed and closed, the corresponding software is usually exited or frozen. In some instances, the OS is rebooted.

There are various reasons behind a runtime error. Some of them are as follows:

  • Clashes between terminate and stay resident programs (TSR)
  • Issues caused by running applications
  • Memory issues
  • Poor Programming
  • Other software problems
  • Aging or damaged hardware
  • Harmful or malicious applications like computer viruses or adware
Advertisements

Related Terms

Latest Privacy and Compliance Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…