exijs01 - JGate Open/Close Test for Memory Leak Detection
This program is useful for detecting memory leaks where the
application is running. As this is a Java application the JGate
specified will generally be local for the results to be meaningful.
There are three main options:
- Issue continuous open/close requests of the Java Gateway
- Issue continuous ECI_listSystems requests between opening and closing
the Java Gateway
- Issue continuous EPI_listSystems requests between opening and closing
the Java Gateway
Parameters can be overridden via command line.
Issue "ecijlst -?" for help and default settings.
Sample Input
java jgtest.gateway.exijs01 -j local: -i 1000 -eci
The sample input requests 1000 iterations of opening and closing
the Java Gateway, issuing an ECI_listSystems request. The number
of systems returned by the ECI_listSystems request is shown in
brackets in the last column of the output.
Sample Output
exijs01 - JGate Open/Close Test for Memory Leak Detection
-j JGate -> local:
-r JGate port -> 2006
-list list systems only -> false
-i # iterations -> 1000
-eci ECI call -> true
-epi EPI call -> false
-d delay -> 0 seconds
-! debug -> false
-? for help panel
--- exijs01 started 18/06/98 15:23
Total Free ECI/EPI Rc +
Memory Memory Lowest Highest Iteration (#Systems)
----------- ----------- ----------- ----------- ----------- ------------
3145720 2761234 70736 3117400 1000 0 (5)
--- exijs01 completed 18/06/98 15:25
--- Iterations run ..... 1000 out of 1000
Note: if output values for memory appear longer than 11 digits in
length, see code below marked "If Loads of Memory ..."
History log:
- Written : Jun 97 - Alan Hollingshead
- Updated : Apr 98 - uses common classes