Yes. You should use the expression in the commented out line to create an analysis context rather than creating an instance of the class directly. Doing so will create an analysis context that shares the analysis of the SDK with every other context, which will reduce memory consumption (assuming you create more than one context).