manage memory usage for our analyzer integration
fixes to analyze spark
Merge pull request #1496 from devoncarew/devoncarew_mem_usage

manage memory usage for our analyzer integration