News for hackers. Stuff that matters.
Re:TeaVM: Build Fast, Modern Web Apps in Java by imtringued on Sunday January 31, 2021 @11:29AM (#25979931)
My biggest issue with the JVM is the RAM consumption. Every other language, even JS beats it. GraalVM's native image feature is the only way to fix this and that is pretty sad that it took them multiple decades to fix such a glaring flaw.
Re:TeaVM: Build Fast, Modern Web Apps in Java by kaba0 on Sunday January 31, 2021 @06:21PM (#25983650)
Did you set a heap size for your app? Because the JVM has an eager way of consuming RAM (since then it doesn’t have to do useless work with garbage collection) - and the defaults are closer to a server config.