dimanche 25 juin 2017

Java How to estimate how much memory method needs, reflectively from JAR file [duplicate]

This question already has an answer here:

I need to estimate how much memory method needs for execution. I load refletively classes from JAR file and then take specific method from class. But I don't know how to estimate this. Is there any way to do this ?

Extra I need estimate how much stack and heap memory method needs for execution.





Aucun commentaire:

Enregistrer un commentaire