You "cram like crazy".
It is a very common expression among Korean students, as most of them do it one time or another, or every test time for some, in their school years.
Korea is known for high academic pressures on the students, from kindergarten to college :-)