Stuff like lambdas take extra memory, because they convert into anonymous innerclasses instead of invokedynamic.