My Oracle Support Banner

Memory Leak In JDAPI (Doc ID 2945044.1)

Last updated on APRIL 28, 2023

Applies to:

Oracle Forms - Version and later
Oracle Forms for OCI - Version and later
Information in this document applies to any platform.


There is a memory leak in the JDAPI. With every FormModule you open and destroy, the memory consumption of the process increases.


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);[0]).destroy();

Perform this test with any FormModule. You will see that the memory consumption is constantly increasing.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.