Memory Leak In JDAPI
(Doc ID 2945044.1)
Last updated on APRIL 28, 2023
Applies to:
Oracle Forms - Version 12.2.1.4.0 and laterOracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.
Symptoms
There is a memory leak in the JDAPI. With every FormModule you open and destroy, the memory consumption of the process increases.
Testcase:
import oracle.forms.jdapi.FormModule;
public class LeakTest {
public static void main(String[] args) {
for (int i = 0; ; i++) {
if (i % 100 == 0)
System.out.println("#" + i);
FormModule.open(args[0]).destroy();
}
}
}
Perform this test with any FormModule. You will see that the memory consumption is constantly increasing.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |