cancel
Showing results for 
Search instead for 
Did you mean: 

The stack size specified is too small, Specify at least 2688k Could not create the Java virtual machine. The SAPinst GUI Server could not be started.

Former Member
0 Kudos

Hello,

I wanted to take the export of my ECC system but while starting the SWPM i'm getting the below error:

eccprod:/oracle/ECC/Export #./sapinst

[==============================] / extracting...  done!

       * The automatic 'backup' configuration has been updated.

       * Future operations will update the backup without prompting.

       * The requested changes have been applied to the currently

         running configuration.

NOTE:    No change to the tunable 'maxdsiz_64bit' was needed.

Tunable              Value  Expression   Changes

maxdsiz_64bit  17179869184  17179869184  Immed

SAPinst build information:

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

Version:       2015.08.0

Build:         1602494

Compile time:  Sep 18 2015 - 16:02:27

Make type:     optu

Codeline:      720-2_REL

Platform:      hpia64

Kernel build:  721, patch 419, changelist 1564913

SAP JRE build: SAP Java Server VM (build 6.1.080 25.51-b02, Aug  6 2015 18:21:32 - 61_REL - optU - hpux ia64 - 6 - bas2:247116 (mixed mode))

SAP JCo build: 3.0.13

Exe directory: /tmp/sapinst_exe.11121.1443771532

guiengine: 2015-10-02 13:09:07 Waiting for client connection (1)

Starting GUIServer using:

  SAPinst port         : pipe:6:10

  GUIServer port       : 21212

  GUI autostart        : on

  GUI mode             : normal

  command       : /tmp/sapinst_exe.11121.1443771532/jre/bin/java -Xmx512M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.11121.1443771532/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10

The stack size specified is too small, Specify at least 2688k

Could not create the Java virtual machine.

The SAPinst GUI Server could not be started.


Java has been started with the following command line:

-Xmx512M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.11121.1443771532/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10

Request you to please help to fix this issue.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi purushottam Aher,

Did u try anything different rather than setting SAPINST_JRE_HOME=/opt/java6/jre/bin/java parameter.

B'cse after setting this parameter m still facing same issue.

Please suggest

Former Member
0 Kudos

Thank you guys for replying.

it has been fixed, and i got the correct solution here

http://expertisenpuru.com/the-stack-size-specified-is-too-small-specify-at-least-2688k-could-not-cre...

Former Member
0 Kudos

Hello Aher,

1. Are you using the latest version of SWPM for your NW release ?

2. You are running sapinst as 'root'

3. Please check your ulimits and post the values here (ulimit -a)

KR,

Amerjit

Former Member
0 Kudos

Hi Amerjit,

1. Yes i'm using the latest version of SWPM.

2.Yes i'm executing the sapinst with root user.

3.the ulimit output is :

#ulimit -a

time(seconds)        unlimited

file(blocks)         unlimited

data(kbytes)         2097152

stack(kbytes)        unlimited

memory(kbytes)       unlimited

coredump(blocks)     4194303

nofiles(descriptors) 4096

Former Member
0 Kudos

Hi,

Could you check the control.xml file in your sapinst dierctory and run the following (post output here):

# grep Xss control.xml

KR,

Amerjit

Mofizur
Contributor
0 Kudos

Hi,

Although below parameter seems to be related to Linux.May be you can give a try.

1680045 - Release Note for Software Provisioning Manager 1.0

------------------------< D022256, 20/AUG/13 >-------------------------

LinuxPPC only: Installation aborts with the error "stack size specified is too small, Specify at least 1280k"

When installation aborts with the error "stack size specified is too small, Specify at least 1280k", set the following parameter in /sapmnt/<SID>/profile/DEFAULT.PFL: "jstartup/native_stack_size=2097152". Afterwards, stop and restart the tool and then continue with the installation.

Thanks,

Mofizur

Sriram2009
Active Contributor
0 Kudos

HI Aher

1. Could you share the full log as attachment?

2. Check this SAP Note 172747 - SAP on HP-UX: OS kernel parameter recommendations

Regards

SS

Former Member
0 Kudos

HI S Sriram,

The logs are here :

./sapinst

[==============================] / extracting...  done!

       * The automatic 'backup' configuration has been updated.

       * Future operations will update the backup without prompting.

       * The requested changes have been applied to the currently

         running configuration.

NOTE:    No change to the tunable 'maxdsiz_64bit' was needed.

Tunable              Value  Expression   Changes

maxdsiz_64bit  17179869184  17179869184  Immed

SAPinst build information:

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

Version:       2015.08.0

Build:         1602494

Compile time:  Sep 18 2015 - 16:02:27

Make type:     optu

Codeline:      720-2_REL

Platform:      hpia64

Kernel build:  721, patch 419, changelist 1564913

SAP JRE build: SAP Java Server VM (build 6.1.080 25.51-b02, Aug  6 2015 18:21:32 - 61_REL - optU - hpux ia64 - 6 - bas2:247116 (mixed mode))

SAP JCo build: 3.0.13

Exe directory: /tmp/sapinst_exe.5038.1443807372

The GUI could not be started because the environment variable DISPLAY is not set. Please make sure that this variable is defined correctly or  start the GUI on another host (for details please consult the installation guide)

Starting GUIServer using:

  SAPinst port         : pipe:6:10

  GUIServer port       : 21212

  GUI autostart        : on

  GUI mode             : normal

  command       : /tmp/sapinst_exe.5038.1443807372/jre/bin/java -Xmx512M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.5038.1443807372/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10 guistart=off

guiengine: 2015-10-02 23:06:26 Waiting for client connection (1)

The stack size specified is too small, Specify at least 2688k

Could not create the Java virtual machine.

The SAPinst GUI Server could not be started.

Java has been started with the following command line:

-Xmx512M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.5038.1443807372/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10 guistart=off

Also i have set all the Kernel Parameter as per the Note still getting the same error.