Yeah, actually I think you&#x27;re right. I don&#x27;t think you can actually disable the GC in JVM unless you patch it.<p>Truly garbage free is probably not practical 99% of the time. Normally you should just generally try to either have objects that are short-lived or practically permanent.