In article
<7e3b6f22-314c-4d38-82fd->,
zigzagdna <> wrote:
> On Mar 19, 10:52Â*pm, "John B. Matthews" <nos...@nospam.invalid> wrote:
> > In article
> > <055f977b-0469-448b-bac4-81411fbc7...@x3g2000yqj.googlegroups.com>,
> >
> > Â*zigzagdna <zigzag...@yahoo.com> wrote:
> > > I am on Oracle 10.2.0.4 on HP UNIX 11.2. I am running a program which
> > > has an infinite loop. Each loop iteration sleeps for 15 seconds, does
> > > something…? I am noticing that space under $ORCALE_BASE keeps
> > > increasing.
> >
> > Assuming it's a Java program running in the Oracle database, I can only
> > guess that your "something…" is consuming, but not releasing, resources
> > that requires disk space. The possibilities are myriad [1], but the
> > manual particularly mentions operating system resources [2].
> >
> > > When I stop the program, space shrinks back to original, so [it]
> > > looks like [the] file has been deleted.
> >
> > Or truncated to it's previous size.
> >
> > Instead of an infinite loop, why not use DBMS_SCHEDULER [3]?
> >
> > [1]<http://www.javaworld.com/javaworld/jw-03-2006/jw-0313-leak.html>
> [...]
> [Please omit signatures.]
>
> Thanks a lot. My java application is not running inside the database
> (i.e. deos not use Oracle JVM). It is using Sun's JVM (in the old
> sense before Oracle bought Sun). oracle's dbms_scheudler is not
> applicable to me.
Then I'd consider another scheduler such as cron, anacron, at, quartz,
etc.
> What puzzles me, if there are memory leaks etc my shadow Oracle
> process will show memory increase etc but it will not write anything
> inside Oracle install directory, that is most baffling.
I don't follow; many things default to $ORACLE_BASE, e.g. auditing. I
don't know what "something…" does, but it does so continually, in "an
infinite loop." My suggestion is to do "something…" intermittently,
closing the session each time. If that helps, then you can focus on
"something…" with a view to toward finding the culprit.
--
[Please omit signatures.]
|