added TotalMemory to search diagnostics
fixed integarted build (again)