Question d’entretien chez Northrop Grumman

How would you debug a "low memory" error in a program you wrote? What could cause this?