Volunteer Computing

From TheBeard Science Project Wiki
Jump to: navigation, search

Unfinished page...

Problems I've Encountered

"Can't Run, Too Big"

I couldn't find any discussion about this, but I looked at the code and determined that it is indeed caused by a lack of RAM. I wanted to confirm before I ordered more RAM.

Here is the relevant code snippet (link):

 double wss = 0;
        if (atp) {
            atp->too_large = false;
            wss = atp->procinfo.working_set_size_smoothed;
        } else {
            wss = rp->avp->max_working_set_size;
        }
        if (wss > ram_left) {
            if (atp) {
                atp->too_large = true;
            }
            if (log_flags.mem_usage_debug) {
                msg_printf(rp->project, MSG_INFO,
                    "[mem_usage] enforce: result %s can't run, too big %.2fMB > %.2fMB",
                    rp->name,  wss/MEGA, ram_left/MEGA
                );
            }
            continue;
        }