Akamai Interview Question

Write a program to simulate OS thrashing