PURPOSE: This phase I/II trial is studying the side effects and best dose of methotrexate when given together with glucarpidase and leucovorin in treating patients with newly diagnosed primary central nervous system lymphoma.