Hi,
the amount of execution data collected by JaCoCo corresponds to the
number of loaded classes. JaCoCo holds a small, fixed size data
structure (basically a boolean[] array) per class. So once your
application is loaded on the production server the JaCoCo memory usage
will not increase afterwards.
JaCoCo is enabled for the entire lifecycle of the JVM, it can not be
turnded off once the classes are instrumented.
Best regards,
-marc
On 2015-01-21 09:32, Stone Wang wrote:
I plan to track code usage by Jacoco in Production server. However I
must ensure the performence won't be affected by Jacoco too much.
So,my question is: is there a way to:
1) limit memory used by Jacoco? Ex, 1G, if there is over 1G execution
log, then overwrite the earliest.
2) turn off Jacoco without shut down the server. If there is, we can
turn off it if CPU/Memory usage hit the alert line.
Anyhow, I'll do stress test. After it done, I'll post test result here
Thanks a lot.
--
You received this message because you are subscribed to the Google
Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/0d942d2d-d79d-44a8-acaa-2192005d7d7b%40googlegroups.com
[1].
For more options, visit https://groups.google.com/d/optout [2].
Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/0d942d2d-d79d-44a8-acaa-2192005d7d7b%40googlegroups.com?utm_medium=email&utm_source=footer
[2] https://groups.google.com/d/optout
--
You received this message because you are subscribed to the Google Groups "JaCoCo
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/d58e10e6603afc9e621566732f1a8158%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.