Thrashing occurs when a computer spends excessive time swapping data between virtual memory (disk) and RAM, leaving little time for actual program execution. This typically happens when the system is overloaded with processes and doesn't have enough physical memory. It's not related to disk space, number of processors, or registry issues.