diff --git a/client/app.cpp b/client/app.cpp index 1e6ab4cfd0..f11955ba64 100644 --- a/client/app.cpp +++ b/client/app.cpp @@ -343,7 +343,8 @@ void ACTIVE_TASK_SET::get_memory_usage() { } PROCINFO boinc_total; if (log_flags.mem_usage_debug) { - memset(&boinc_total, 0, sizeof(boinc_total)); + boinc_total.clear(); + boinc_total.working_set_size_smoothed = 0; } for (i=0; i