Memory Grows When Calling A Jsp With Runtime.Getruntime().Exec In A Ps/Sql Loop. (Doc ID 334646.1)

Last updated on JUNE 01, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.6 to 9.2.0.7 - Release: 9.2 to 9.2
Information in this document applies to any platform.

Symptoms

When you call the following code in a loop creates memory leak.

Process myProc = Runtime.getRuntime().exec("/bin/ksh -c ls");

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms