Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Oracle Universal Installer -> java.lang.OutOfMemoryError

107 views
Skip to first unread message

revjack

unread,
Apr 7, 2003, 12:36:18 PM4/7/03
to
Hello,

I can't seem to do a simple install of Oracle9i. Once the
Universal Installer has all the information and starts
writing files, it just hangs after a few dozen files.

oraInstall.err shows:

java.lang.OutOfMemoryError
at java.util.zip.Inflater.<init>(Compiled Code)
...list of more components that didn't install...
at java.lang.Thread.run(Compiled Code)


This is being installed on a typical, clean install of
Solaris 8, and the Oracle installation is coming off the
CD-ROMs that came with Solaris. The box has 1GB memory.

Does anyone have a clue as to how to fix this error?


Jack

Jeffrey Hunter

unread,
Apr 8, 2003, 6:23:27 PM4/8/03
to
The only thing that comes to mind is your "temp" space. What do you have
/tmp sized at?

Make sure to have an amount of disk space equal to twice the amount of RAM
or at least 400MB, whichever is greater.

Also, point the following environment variables before kicking off the
install:

TMP=/tmp
TMPDIR=/tmp
export TMP TMPDIR

------------------------

If that doesn't work, then try running the installer with a high java heap
size:

% runInstaller -ms64m -mx128m

--
Jeffrey M. Hunter
Sr. Database Administrator
jhu...@idevelopment.info
www.idevelopment.info

"revjack" <rev...@revjack.net> wrote in message
news:b6s9e2$rb8$1...@news1.radix.net...

revjack

unread,
Apr 8, 2003, 8:39:11 PM4/8/03
to
In comp.databases.oracle.server Jeffrey Hunter <Jeff...@comanage.net> wrote:
: The only thing that comes to mind is your "temp" space. What do you have
: /tmp sized at?

Humongous. Also 1GB swap space.

: If that doesn't work, then try running the installer with a high java heap
: size:

: % runInstaller -ms64m -mx128m

Yup, tried that, no change. The good news is, one of our
guys got it going today in a nonintuitive way (nonintuitive
to me, anyways). First, we created an env var:

ulimit=unlimited

runInstaller apparently looks for ths var.

Second, we changed the 'oracle' user's default shell from
bash to sh. Then it started working. Weird. I'm posting it
here in case someone searches for it in the future.

Thanks for the advice, Jeffrey, it's much appreciated.

--
___________________
rev...@revjack.net

Vince Laurent

unread,
Apr 9, 2003, 12:03:37 PM4/9/03
to
See note 229773.1 It might help.

revjack

unread,
Apr 9, 2003, 3:39:10 PM4/9/03
to
In comp.databases.oracle.server Vince Laurent <eAd...@yahoo.com> wrote:

: See note 229773.1 It might help.

Where might I find that?

--
___________________
rev...@revjack.net

Vince Laurent

unread,
Apr 9, 2003, 5:01:46 PM4/9/03
to
Sorry, metalink (http://metalink.oracle.com). If you cna't locate it
I will see if I can reprint it to PDF format and e-mail it to you.

revjack

unread,
Apr 11, 2003, 5:58:13 PM4/11/03
to
Following up to myself self for the archives...

Apparently, Oracle isn't kidding around when they advise as
to the minimum kernel parameters. After experiencing further
java.lang.memory problems, I went back and followed the
instructions (gasp), setting the kernel parameters to the
suggested minimums. Result: flawless installation.

Thanks to all who helped.

--
___________________
rev...@revjack.net

Paul Brewer

unread,
Apr 12, 2003, 2:26:54 PM4/12/03
to
"revjack" <rev...@revjack.net> wrote in message
news:b77dpl$h5q$1...@news1.radix.net...

Well I'll go to our house!

"I read the instructions, followed them, and it worked!"

Perhaps there's a lesson for others somewhere?
(this is for the wider audience; thanks revjack for being so honest).

Regards,
Paul


mmeyers58

unread,
Jul 24, 2003, 12:06:05 PM7/24/03
to

Originally posted by Revjack
> Following up to myself self for the archives...
>
> Apparently, Oracle isn't kidding around when they advise as
> to the minimum kernel parameters. After experiencing further
> java.lang.memory problems, I went back and followed the
> instructions (gasp), setting the kernel parameters to the
> suggested minimums. Result: flawless installation.
>
> Thanks to all who helped.
>
> --
> ___________________
> rev...@revjack.net

Thanks for posting this. I'm curious, did you raise the kernel
parameter settings to the recommended minimums, or did you lower them to
the minimums?

Thanks!

--
Posted via http://dbforums.com

revjack

unread,
Jul 24, 2003, 12:54:00 PM7/24/03
to
mmeyers58 <membe...@dbforums.com> wrote:

: Originally posted by Revjack

:> Following up to myself self for the archives...
:>
:> Apparently, Oracle isn't kidding around when they advise as
:> to the minimum kernel parameters. After experiencing further
:> java.lang.memory problems, I went back and followed the
:> instructions (gasp), setting the kernel parameters to the
:> suggested minimums. Result: flawless installation.

: Thanks for posting this. I'm curious, did you raise the kernel


: parameter settings to the recommended minimums, or did you lower them to
: the minimums?

Raised 'em all. From my /etc/system:

* set SHMSEG to 10 (original value 6)
set shmsys:shminfo_shmseg=10
* set SHMMAX to 4294967295 (original value 1048576)
set shmsys:shminfo_shmmax=4294967295
* set SEMMSL to 256 (original value 25)
set semsys:seminfo_semmsl=256
* set SEMMNS to 256 (original value 60)
* set SEMMNS to 512 from 256 05/23/03
set semsys:seminfo_semmns=512
* set SEMMNI to 100 (original value 10)
set semsys:seminfo_semmni=100


--
___________________
rev...@revjack.net

0 new messages