Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ17550
Printer Friendly
Email Article Link
TTworkbench: How to handle a memory leak with jacob (ComThread) using TTworkbench?
Environment/Versions
TTworkbench 32/64 Bit, Microsoft Windows/Linux
Answer
When calling jacob/ComThread in Java port plugin implementation, the ComThread memory is not handled by Java garbage collection.
The solution is to add the following method in Java source, when starting:
ComThread.InitSTA();
// initializing the ComThread
and the following to close:
ComThread.Release();
// release the memory not handled by Java garbage collection
Thus the ComThread is released explicitly.
Version
1.0
Publish Date
2017-03-22
Categories
Product : Misc
Related Articles