SAP Knowledge Base Article - Preview

2939036 - J2EE system fails to start with "exitcode -21003" - Invalid ReservedCodeCacheSize

Symptom

Application Server (AS) Java instance fails to start. Following errors can be found:

  •  dev_server<X>:

[...]
Invalid ReservedCodeCacheSize: 0K. Must be at least InitialCodeCacheSize=2496K.
J  NmethodSweepFraction of 16 is invalid; must be between 1 and 0
[...]
F  [Thr 140644184348416] *** ERROR => Java thread failed: SfEStartupError: Cannot create Java VM instance from library 'libjvm.so' (rc = -1).
[...]
F  [Thr 140644881934176] *** LOG => exiting (exitcode -21003, retcode 2).
[...]

  • std_server<0>.out

[...]
Invalid ReservedCodeCacheSize: 0K. Must be at least InitialCodeCacheSize=2496K.
NmethodSweepFraction of 16 is invalid; must be between 1 and 0
[...]


Read more...

Environment

SAP NetWeaver Application Server Java all versions

Product

SAP NetWeaver Application Server for Java all versions

Keywords

KBA , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-JAS-SF , Startup Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.