SAP Knowledge Base Article - Preview

2082878 - Cannot create Java VM instance from library 'libjvm.so' - Unrecognized option - negative parameter

Symptom

The Java engine is failing at startup phase with similar error stack:

J Invalid maximum heap size: -Xmx-737m

J Unrecognized option: -XX:MaxNewSize=-246m

J Invalid initial heap size: -Xms-737m

J Unrecognized option: -XX:NewSize=-246m

F [Thr 140705739536128] *** ERROR => SfEStartupError: SfCSapVm::createJavaVM: Cannot create Java VM instance from library 'libjvm.so' (rc = -6). [sfxxjvm.hpp 1174]

F [Thr 140705739536128] *** ERROR => Java thread failed: SfEStartupError: Cannot create Java VM instance from library 'libjvm.so' (rc = -6)


Read more...

Environment

SAP NetWeaver Release Independent

Product

SAP NetWeaver all versions

Keywords

configuration, jvm, memory , KBA , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-JVM , SAP Java Virtual Machine , Problem

About this page

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

Search for additional results

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