You can free some memory by nullifying `searchResult` when you are done with it.
Either right here, or when you close the marketplace dialog.