Memory wipe/Legends

"I'm placing these droids in your care. Treat them well. Clean them up. Have the protocol droid's mind wiped."

- Bail Organa to Raymus Antilles

A memory wipe, also known as a memory flush, was a procedure which totally erased the memory of a droid. All databanks, except for basic factory-installed programming, were "wiped" clean. A memory wipe was performed with a memory flush unit.

Purpose
Droids normally gathering experiences, gradually begin to develop personality and independence, even overriding their programming. These effects were unwelcome by most droid owners so they prevented it by performing regular memory wipes. Most droids tended to dread the procedure. But living beings have also gotten their memory wiped, too.

In the Jedi Apprentice book, Mark of the Crown, we find Obi-Wan Kenobi about to have his memory erased. After surrounding his memories with the Force, he became the only being to ever withstand the memory wipe.

Guerra and Paxxi tell Qui-Gon Jinn that strong-minded beings can remember something small, like a smell, or a face.

There was evidence, however, suggesting that not performing memory wipes could have beneficial side-effects. One such side effect was that the droid was better capable of inferring the wishes of its master, increasing its efficiency and accuracy. Also, droids with accumulated memories were often more effective because of their increased practical knowledge and real-world familiarity. Technicians working on Luke Skywalker's X-wing found that because Skywalker refused to wipe R2-D2's memory that the droid was needed to decipher diagnostics from the X-wing, but at the same time communications between R2-D2 and the ship had greatly improved as time went by.

The periodic application of memory wipes became commonplace sometime after 200 BBY, when a cybersociologist of the Baobab Merchant Fleet accidentally created a personality algorithm that ran rampant as a virus through the droid population.

Bail Organa ordered Raymus Antilles to wipe C-3PO's memory to ensure the true lineage of Leia Organa remained unknown. However, an image of a nine-year-old boy&mdash;the droid's maker, Anakin Skywalker&mdash;somehow survived the wipe. Years later, after the mention of Obi-Wan Kenobi's name, Owen Lars told Luke Skywalker to wipe the memory of two recently acquired droids&mdash;C-3PO and R2-D2&mdash;as part of a routine procedure. The wipe, however, was never performed.

Wedge Antilles had the memories of Mynock&mdash;the R5-D2 droid he used with his ship&mdash;wiped after finding that in battle situations that the droid's screaming was too much of a distraction. The technicians wiped Mynock's memory and made a number of other improvements, which resulted in the droid being re-designated R5-G8. Wedge then renamed the droid Gate.

During the days of the Old Republic a criminal organization called the Syndicat created a memory-wiping device for living beings. The Syndicat used this device to wipe the memories of the natives of Phindar who defied them, as a punishment. It was destroyed by the natives in the battle that brought the end of the Syndicat in 44 BBY.

Appearances

 * Star Wars: Knights of the Old Republic II: The Sith Lords
 * Jedi Apprentice: The Hidden Past
 * Jedi Apprentice: The Mark of the Crown
 * Jedi Quest: The Way of the Apprentice
 * Republic Commando: True Colors
 * MedStar I: Battle Surgeons
 * Labyrinth of Evil
 * Star Wars Episode III: Revenge of the Sith
 * Star Wars: Droids Special
 * Star Wars Droids: Rebellion 2
 * Star Wars Episode IV: A New Hope novelization
 * Star Wars Episode IV: A New Hope
 * Star Wars 1
 * Star Wars 20: Deathgame
 * Vader vs. Artoo & Threepio
 * The Truce at Bakura
 * The Mandalorian Armor
 * Before the Storm
 * Shield of Lies
 * Dark Tide I: Onslaught
 * Agents of Chaos I: Hero's Trial
 * Edge of Victory I: Conquest
 * Star by Star
 * Dark Nest I: The Joiner King
 * Backlash
 * Conviction
 * Star by Star
 * Dark Nest I: The Joiner King
 * Backlash
 * Conviction