Solved by Brian_Davis in post #11 
              
              
                Okay, nevermind. There was an extra backwards hook being added in the saliency code I copied. Clearing the data fixed the memory issue. 
Thanks for your help!