- Powered by Domino 8.5.2 Domino Accelerator Pack
- Serve faster pages for your users
Lotus Triple Search DominoExperts + Blogs + R8 forum -> Script vault -> Java

 Domino MaxHeapSize only 64MB (JVMDG315)

Tomas NielsenPost date: 2007-08-08 20:54

Today, while playing with som large PDF-files in a servlet, I ran into some mysterious errors. It starts with:

2007-08-08 14:11:10 HTTP JVM: JVMDG315: JVM Requesting Heap dump file

2007-08-08 14:11:10 HTTP JVM: // Version: J2RE 1.4.2 IBM Windows 32 build cn1420-20040626

2007-08-08 14:11:10 HTTP JVM: 0x05E90200

2007-08-08 14:11:10 HTTP JVM: [361168]

2007-08-08 14:11:10 HTTP JVM: byte[]

And goes on forever.
After some searhing it turns out the default MaxHeapSize on Domino 7 is only 64MB.
The fix to increase it is:

In notes.ini. For my application I even had to go to 512MB to be on the safe side.
Anyone else who has had these side effects? Maybe someone can be helped by this.

Niklas WallerPost date: 2007-08-09 08:04

Good tip! That might come in handy.
Do you know if it's the same default settings for Domino 8?

Tomas NielsenPost date: 2007-08-09 23:52

Nope, I have not checked it. Anyone knows how to determine the MaxHeapSize programatically?

Tomas NielsenPost date: 2007-08-13 23:12

It is a bit scary but I have reason to believe that if your Java program uses up the Heap it will dump the heap to the notes log. Thats is a lot of logging...

Others are reporting the same issue. Anyone encountered this?

This was not the behavior of the 6 version.

RSS feed
Subscribe to Forum

Share this page

Top posters
Tomas Nielsen212
Joacim Boive27
Fredrik Stöckel27
Niklas Waller13
Kenneth Haggman11
Bryan Kuhn10
Daniel Lehtihet9
Jonas Israelsson8