def METHOD_NAME(self, name, db):
    # Per-process memory requirements.  This is determined by the largest
    # Spectra file that must be read and broadcast.  We compute that size
    # assuming no coadd and using the total number of targets falling in
    # our pixel.
    mem = 0.0
    if db is not None:
        props = self.name_split(name)
        entries = db.select_healpix_frame(
            {"pixel":props["pixel"],
             "nside":props["nside"]}
        )
        ntarget = np.sum([x["ntargets"] for x in entries])
        # DB entry is for one exposure and spectrograph.
        mem = 0.2 + 0.0002 * 3 * ntarget
    return mem