javabotGetting the size of objects in Java is usually not worth the effort. With that said, google "sizeof for java" and you can find various attempts at calculating how large a given object graph is, but it's not likely to be 100% accurate. Also see ~jol .
dreamreal~jol
javabotJava Object Layout (JOL) is a tool for analyzing objects' memory layout in the JVM. For more info see https://github.com/openjdk/jol
cheeserit's even harder now, i think, than went that factoid was written.
cheeser~info sizeof
javabotsizeof was added by: dreamreal on 06 Apr 2022 at 09:01 and has a literal value of: <reply>Getting the size of objects in Java is usually not worth the effort. With that said, google "sizeof for java" and you can find various attempts at calculating how large a given object graph is, but it's not likely to be 100% accurate. Also see ~jol .
cheeseronly 4 years since it was updated. not so long ago then.
Parajust lol
ParaI mean lust jol.
dreamrealwell, I'd be using it on java 17, so ...
dreamrealplus I'd want to overshoot if inaccuracy was involved
* OmniRadix joined #java
* stfstfm_ joined #java
* emaczen joined #java
* stfstfm joined #java
* stfstfm_ joined #java
* pr3d4t0r joined #java
* fed-kaczynski joined #java
* deavmi joined #java
* stfstfm joined #java
* stfstfm joined #java
* stfstfm_ joined #java
* stfstfm__8951 joined #java
* stfstfm_ joined #java
* deavmi joined #java
* deavmi joined #java
* ferdna joined #java
* magla joined #java
* zChris left #java (WeeChat 4.7.2)
* BSaboia joined #java
* CygniX left #java (Konversation terminated!)
* yano joined #java
* CygniX joined #java
* rvalue joined #java
* Ragnor joined #java
* stfstfm joined #java
jbosmansdreamreal, you'd be using java 17? ;-)
jbosmansas in, by choice :-P
* mindCrime joined #java
* kelt0m joined #java
dreamrealjbosmans: no.
dreamrealI would be using java 17, but not by choice.
jbosmansi can understand "that" :-D
jbosmans"a man's gotta do what he's gotta do" etc
jbosmans17 tho !
dreamrealin my case, it's "comply with legal requirements"