Skip to main content

Reminder: Increase the maximum available memory on your Lotus Notes client JVM today!

Yup, that's right.  Public Service Announcement time.

If you haven't increased the maximum memory available to your Lotus Notes JVM yet, what are you waiting for?

By default, the Notes JVM only has 256mb of memory available to it.  On a system with 4GB+ of memory, you should be easily able to increase it to 1/4 to 1/3 of the system memory and improve the end user performance.

Here's how:


  1. Shut down Lotus Notes.


    • In order to make sure that all processes are stopped, run this command:

    •  Start -> Run


  2. Type:


    • C:\Program Files (x86)\IBM\Lotus\Notes\nsd.exe -kill


  3. Open:


    • C:\Program Files (x86)\IBM\Lotus\Notes\framework\rcp\deploy\


  4. Open the "jvm.properties" file in a text editor like notepad.  You will possibly require Administrator permissions.

  5. At the beginning of the file, you will see text surrounded by a lot of pound signs ####.

  6. The first ‘property’ after the last # sign is:


    • vmarg.Xmx=-Xmx256m


  7. Change 256m to 1024m so that the line reads:


    • vmarg.Xmx=-Xmx1024m


  8. Save your changes and close the file.


Restart your system, and experience the difference.

Comments

  1. In case anyone wants to see this in action.  I did a video on this as well as some other domino designer tips for NotesIn9.  http://notesin9.com/index.php/2012/02/12/notesin9-043-domino-designer-tips-and-tweaks/

    ReplyDelete
  2. IMHO you should not only increase Xmx (maximum Java heap size) but Xms (initial Java heap size) too. If you want to reduce memory allocation then consider increasing Xmca to more than the current 8Kb.

    And for smoother garbage collection I would suggest you to change the following entries with a new value:
    vmarg.Xminf=-Xminf0.3

    vmarg.Xmaxt=-Xmaxt0.2

    Have a look here -> http://publib.boulder.ibm.com/infocenter/realtime/v2r0/index.jsp?topic=%2Fcom.ibm.rt.doc.20%2Frealtime%2Fdiagnose_oom_understanding.html <- if you need to understand how the IBM JVM allocates memory.

    ReplyDelete
  3. Watch out for updates/fixpacks. They all replace the jvm.properties file, so the values go back to the defaults and you have to remember to increase them again.

    ReplyDelete

Post a Comment

Popular posts from this blog

Fun Little Earthquake

It's 1:45pm EST in Ottawa, Ontario, Canada. We just had an earthquake.  Not strong enough to damage anything, but enough that I watched people run out of buildings. What a fun Wednesday.

Error 217 - Error creating product object on Domino 64 bit

I'd like to share something with you.   An error that you'll get if you are trying to use ODBC with Domino 8.5.1 64bit. It starts out with an agent error of Error 217.  The text of the error is "Error creating product object" You can read about it here on the Notes/Domino forum . You can find the solution here as well . I guess I'm now waiting for Domino 8.5.2 for a solution for this.   It would have been nice to have had this in the release notes.  It would have help me greatly.

Lotus Trading Cards

I was painting the house last night, and my mind got to wandering... Bruce Elgort mentioned on Twitter last night that he was thinking of a VC fund for Lotus projects. So my mind wandered about that, and turned to how we present ourselves. I got to thinking that business cards are so ... old school. I think we need Trading Cards. So, here are the first few I've come up with.