how to correct netbeans memory erro