Created
December 30, 2014 09:10
-
-
Save loverdos/f18966f8b1afd17ff2fc to your computer and use it in GitHub Desktop.
JVM crasher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ val u = classOf[sun.misc.Unsafe].getDeclaredField("theUnsafe") | |
u.setAccessible(true) | |
u.get(null).asInstanceOf[sun.misc.Unsafe] | |
} freeMemory 1024 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Κάφρος!