+ 3
What is best practice for garbage collection in non trivial or critical systems in java?
This Ciriculum does not discuss garbage collection or deconstructors in java. I realize that this is performed implicitly however I have seen bad software in business world that requires 4x recommended memory. What is considered best practices for non trivial garbage collection?
2 Respuestas
+ 1
I don't know the answer but I'd like to second this question. Also curious because I read on stackexchange that directly trying to free memory by deleting objects is considered very bad practice.
0
Just like you said the developers have made their intent clear and have barred direct access to memory manipulating. Even if that's the case I don't need a Ph.D to clean up old objects and memory manipulating is really only dangerous in recursion, at least in critical systems but I digress.
Is there another way to control life cycles with Java? Perhaps using threads?