# Error - Domino HTTP Error Loading Java Virtual Machine

## **Problem**

Domino HTTP fails to load Java Virtual Machine. As result, the HTTP task fails to start.

## **Cause**

Conflict with Java heap size settings in notes.ini file prevented the Java Virtual Machine (JVM) from loading.

## Diagnosing the problem

Domino Server console reported following messages:

`03/29/2011 08:39:58 AM HTTP JVM: JVMJ9GC019E -Xms too large for -Xmx`\
&#x20;`03/29/2011 08:39:58 AM HTTP JVM: JVMJ9VM015W Initialization error for library j9gc24(2): Failed to initialize`\
&#x20;`03/29/2011 08:39:58 AM JVM: The Java Virtual Machine creation returned an invalid JVM machine pointer.`\
&#x20;`03/29/2011 08:39:58 AM JVM: Java Virtual Machine failed to start`\
&#x20;`03/29/2011 08:39:58 AM HTTP Server: Error Loading Java Virtual Machine`\
&#x20;`03/29/2011 08:39:58 AM HTTP Server: JVM: Missing entrypoint in JVM runtime library.`\
&#x20;`03/29/2011 08:39:58 AM HTTP Server: Shutdown`

&#x20;Message "-Xms too large for -Xmx" indicates that the initial Java heap size is larger than the maximum Java heap size.

&#x20;In one case, the Notes.ini file had the following parameters:

&#x20;`HTTPJVMMaxHeapSize=64M`\
`HTTPJVMMaxHeapSizeSet=1`\
`JavaMaxHeapSize=268435456`\
`JavaMinHeapSize=134217728`

&#x20;The JavaMinHeapSize of 128MB is set higher than the HTTP's JVM heap size 64MB.

## **Resolving the problem**

The solution is to remove or lower JavaMinHeapSize (JavaMinHeapSize=67108864) or alternatively, increase HTTPJVMMaxHeapSize to 128M (HTTPJVMMaxHeapSize=128M).<br>

## **Note**

This article is copied from HCL support resources.

Learn more: **HTTP/JVM Out of memory**\
<https://ds_infolib.hcltechsw.com/ldd/dominowiki.nsf/dx/HTTPJVM_Out_of_memory>

{% hint style="warning" %}
[Lotus Notes’ life support is over – what now?](https://www.swingsoftware.com/blog/lotus-notes-support)

End of support means end of life for old IBM-branded versions of Lotus Notes and Domino. It’s time to commit. Decide what to do with your existing IBM Domino infrastructure and databases: upgrade or finally retire your IBM Domino environment. Just don’t stay in a half-migrated deadlock.
{% endhint %}

{% hint style="info" %}
[SWING PDF Converter for Notes](https://www.swingsoftware.com/pdf-converter-for-notes)

SWING PDF Converter for Notes exports IBM Lotus Notes emails, documents and databases to PDF+XML. The tool introduces greatly simplified email and document export and archiving capabilities to IBM Notes/Domino. It adds the PDF icon to the Lotus Notes toolbar, which lets users convert one or more Notes emails or documents. LotusScript API is provided for application developers.
{% endhint %}
