0

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.

Piter _OS
  • 105
  • 2
  • 11
  • You're trying to estimate *in advance* how much memory a method might use? I'm guessing that's close to impossible. – shmosel Jun 25 '17 at 23:53
  • Yes I would try to do something like estimating in advance or maybe is it way to measure this by executing method ? – Piter _OS Jun 26 '17 at 00:00

0 Answers0