You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be some kind of check to see if the enviroment variable
ALLOCATION_JAR has been set.
For example,
if (type == MeasurementType.INSTANCE || type == MeasurementType.MEMORY) {
String allocationJarFile = System.getenv("ALLOCATION_JAR");
if (allocationJarFile == null) {
throw new Error("Enviroment variable ALLOCATION_JAR must be set before --measureMemory option can be used")
}
}
Current version just fails with
> Failed to execute java -javaagent:null -cp ....
> Error occurred during initialization of VM
> agent library failed to init: instrument
> Error opening zip file or JAR manifest missing : null
If ALLOCATION_JAR has not been specified.
Also there is no mention in any of Calipers documentation about the need for
settings this variable
Original issue reported on code.google.com by kaspe...@gmail.com on 31 Jan 2011 at 6:50
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
kaspe...@gmail.com
on 31 Jan 2011 at 6:50The text was updated successfully, but these errors were encountered: