Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
In computing, an overflow error is an error that happens when a program receives a number, value or variable outside the scope of its ability to handle. This type of error is somewhat common in programming, especially when dealing with integers or other numerical types of variables.
Different types of overflow errors include those that refer to the memory stacks used for programming and those that deal with resident memory for storage. A stack overflow relates to an overload on the conditions used to handle processes in a computing stack, which can be related to running too many programs at once or to viruses or other problems. Other types of overflow errors are caused by developers not providing enough memory room to store the data that are coming in.
Another issue typically linked to data type overflows or stack overflows is program recursion; for instance, when a program calls too many methods or nested processes, it overflows what the system can handle. In some cases, the system simply runs out of memory to handle the demands that are put on it. Overflow error may also occur in situations where older machines or systems are trying to use newer operating systems or applications.
Dealing with overflow errors in development should be a priority for developers. After the fact, companies can issue patches or upgrades to fix overflow error problems.