Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.

By Andrew Pollack on 10/03/2008 at 01:28 PM EDT

I've been reminded of this gem, given to me by skilled person I trust, which really speeds up the way Notes 8.x in Eclipse feels. I can't say if its actually faster, but it does feel much faster. I've heard some interesting stories about why this isn't set to a higher default, but since they're only stories I'm going to hold off repeating them.

Use your file explorer to find this directory:

UPDATED 10/12/2009 for Notes version 8.5.1 The file "jvm.properties" is now located in a new place.

{NotesProgramDirectory}\framework\rcp\deploy\

For versions prior to 8.5.1 --
{NotesProgramDirectory}\framework\rcp\eclipse\plugins\com.ibm.rcp.j2se.{Version}

In this folder, look for the file "jvm.properties" One of the first lines that isn't commented out (preceeded by #) is:

vmarg.Xmx=-Xmx256m


Change that line to roughly half of your available ram. The recommendation I was given was actually 768, but since I have 3gb of RAM available to XP I set mine up a bit higher.

vmarg.Xmx=-Xmx1024m


Note: Make sure you close Notes before you do this, and that all the Notes processes are terminated. If you're not sure, reboot first. Go ahead, try it, and report what you think.


There are  - loading -  comments....

re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Darren Duke on 10/03/2008 at 01:48 PM EDT
----snip
eclipse -vmargs -Xmx

The value should typically be at least "128M" (128 megabytes).
Usually, "256M" (256 megabytes) is ample. You should not set this value to be
larger than the amount of physical memory on your machine.

-----end snip

The key here is the amount of physical ram you have. Don't exceed it.

From http://www.eclipse.org/eclipse/development/readme_eclipse_3_0_1.html
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Bruce Elgort on 10/03/2008 at 02:04 PM EDT
Andrew,

Just changed this value and will poke around to see if the client seems
snappier and faster as you suggest.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Tim Tripcony on 10/03/2008 at 03:03 PM EDT
I'd been exclusively using the "basic" client on the laptop I'm using at the
moment, because it's only got 1 GB, and the "standard" client was barely
usable... bumped the setting you mentioned up to 512 and the difference is
palpable. Oddly enough, it doesn't seem to increase the memory utilization,
which was what I'd assumed this change would do...
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Jerry Carter on 10/03/2008 at 03:15 PM EDT
Holy smokes, batman! I nudged it a bit from 256 to 1024 (2 GB of ram on board)
and this sucker flies like a winged, greased pig! Sweet!
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Ed Maloney on 10/03/2008 at 03:44 PM EDT
I just changed it from 256 to 512 and it sure seems faster.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Art Triggs on 10/03/2008 at 03:55 PM EDT
I just made this change on a 2gb machine , bumped the setting to 1024, my co-
worker and I both see some improvement
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Jim Knight on 10/04/2008 at 12:13 PM EDT
Awesome - it worked.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Derek Reynolds on 10/06/2008 at 04:24 PM EDT
I'm an avid SameTime 8.x user. As much as it's a great IM client, the one thing
that I do commonly complain about is how slow it is.

After reading this article I got intrigued and thought maybe I can obtain the
same some sort of performance gain making a similar change to SameTime as it
also sits on top of Eclipse.

After peeking through a few hundred files I managed to track down the file that
manages the vmarg.XmX within SameTime.

It is located here:
C:\Program Files\IBM\Lotus\Sametime
Connect\rcp\eclipse\plugins\com.ibm.rcp.jcl.desktop.win32.x86_6.1.1.200711051602
\jvm.properties

Contents listed below

###############################################################################
# Licensed Materials - Property of IBM
# 5724-M20
# ? Copyright IBM Corp. 2006 All Rights Reserved.
###############################################################################
vmarg.Dibm.jxes.jar2jxeOptions=-Dibm.jxes.jar2jxeOptions=-nog
vmarg.Dosgi.java.profile=-Dosgi.java.profile=jclDesktop-6.1.profile
vmarg.Xdump=-Xdump:heap:events=user,request=compact exclusive prepwalk
vmarg.Xgcpolicy=-Xgcpolicy:gencon
vmarg.Xms=-Xms12M
vmarg.Xmx=-Xmx256m
vmarg.Xquickstart=-Xquickstart
vmarg.DjxeCacheDir=-Dibm.jxes.jxeCacheDir=${rcp.home}/rcp/jxes
vmarg.Dosgiext=-Dosgi.framework.extensions=com.ibm.rcp.core.logger.frameworkhook
,com.ibm.jxesupport


Similar to your article just change the "vmarg.Xmx=-Xmx256m" to
"vmarg.Xmx=-Xmx1024m" . Just make sure you close SameTime down before making
these changes.

I saw an immediate performance gain in the load time. Once loaded the UI seemed
a little snappier too. SameTime although still bloated is now alot faster than
it was.

Thanks for sharing this tip :)

-Derek Reynolds
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Corey Davis on 10/06/2008 at 04:40 PM EDT
Made this change now on two machines. One with 1GB of RAM I changed it to 512
and the speed difference is barely perceptible. However, on a 2GB machine
changing the value 1024 is amazing! Thanks for sharing!
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Keith Brooks on 10/06/2008 at 05:21 PM EDT
Made a big difference in Notes, but only a marginal diference in Sametime
Client, standalone 801. Perhaps because I log into 5-6 communities its slower.
Still thanks for that, very cool.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Jim Casale on 10/06/2008 at 08:37 PM EDT
I have tried is and it seems to work well. My question is why hasn't IBM set
this as the default? Is there a downside that anyone has seen?
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Michael Brummer-Witt on 10/07/2008 at 04:07 AM EDT
I put that question in the 8.5 beta 2 forum. The property defines the cache
parameters for the garbage collection. Increasing the parameter may result in
freezes (worst case) when the collection is cleaned up. The property is
different on operating systems. Our Linux Standard Câ– ient 8.0.1 has 512M by
default.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Jesper Kiaer on 10/07/2008 at 05:09 AM EDT
first, I have not tried the setting myself yet. I does seem logical that
startup is better which as different users have suggested.

But beware tuning the JVM is not a simple as turning a knob.

One of the problems of raising the maximum Heap size to a large size is that
much time will be spent on GC later on. So you may get faster load times, but
when you have worked a bit with the Notes client it may in fact be slower than
with the smaller setting

Lots of GC is of course also happening if the heap is too small.

For the non faint-hearted you can dive into the JVM options here:

http://blogs.sun.com/watt/resource/jvm-options-list.html

brgds Jesper Kiaer
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Derek Reynolds on 10/07/2008 at 01:21 PM EDT
I found a few articles that stated that on processes that are resource
intensive to match the Xmx value with the Xms.

http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp

Today I changed both the Xms and XMX to be the same (1024MB) and saw yet
another performance boost, mostly on load of SameTime.

Originally:
vmarg.Xms=-Xms12M
vmarg.Xmx=-Xmx256m

Now:
vmarg.Xms=-Xms1024M
vmarg.Xmx=-Xmx1024m
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Charles Robinson on 10/14/2008 at 09:17 AM EDT
Holy crap... Notes 8 Standard is actually usable! THANK YOU!!!
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Andy Mell on 10/15/2008 at 05:16 PM EDT
Any idea where the relevant jvm.properties file is on a Mac 8.5 Notes client?

I had a hunt around, but it isnt immediately obvious. its not in the same
location as the PC one.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Ben Poole on 11/18/2008 at 02:35 AM EST
An oldie but goodie!

I don't know about the Notes client, but in Eclipse on the Mac, you change the
eclipse.ini file, which you can access as follows:

1. Right-click on Eclipse.app
2. Select "Show Package Contents"
3. Navigate to Contents / MacOs

(This change is vital if you're doing any form of dev in Eclipse on the Mac --
it ships with defaults which are far too low).
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Mark Kimball on 12/03/2008 at 11:01 PM EST
I believe (but I'm not sure...) that the file is located in your Notes Package
Contents under Contents/MacOS/rcp/deploy/jvm.properties. At least I found
something there. It's an empty file but when I put the entry in, it seems to
speed things up a bit and increase the memory footprint of the Notes process. I
have no real idea if it's the right file or not.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Bo Frederiksen on 11/07/2009 at 03:32 AM EST
It seems odd to put jvm.peoperties inside Notes.app. I suspect it will be
replaced, when Notes is updated. It would be more obvious to put it somewhere
under ~/Library/Application Support/Lotus Notes Data
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Naren on 11/03/2008 at 03:01 AM EST
It does not make any difference.

I have 2GB RAM, and tested allocating 1024MB as suggested in the procedure..but
makes no difference
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Anthony on 07/29/2009 at 02:17 AM EDT
On a 2GB physical memory laptop:

Originally:
vmarg.Xms=-Xms48m
vmarg.Xmx=-Xmx256m

Now:
vmarg.Xms=-Xms256m
vmarg.Xmx=-Xmx1024m

The R8.0.2 Notes client and embedded sametime client now launches much much
faster than previous, esp. sametime client, no longer have to wait a few
seconds for it to be connected and ready to use after notes client started up.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Chris on 08/10/2010 at 04:04 PM EDT
I tested the change on a notebook with 2GB RAM.
The time to start Notes R8.5.1 was unchanged for 3 scenarios:
1) defaults - Xms48m, Xmx256m
2) bump Xmx - Xms48m, Xmx1024m
3) bump Xms as well - Xms256m, Xmx1024m
In all three instances it took about one minute to get to the Notes desktop...
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Chris on 11/26/2008 at 02:08 PM EST
So much faster!
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Rodrigo on 04/10/2009 at 10:05 PM EDT
I'm using IBM Lotus Notes 8.5 Revision 20081211.1925 (Release 8.5)
Standard Configuration under WinXP SP2 with 3GB of RAM.

I changed from 256 to 1024 and it is amazingly faster and it is not consuming
more memory. The 3 services created in the 8.x client are altogether using less
than 256.

Very good hint


re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Rick Schumann on 11/03/2009 at 10:35 AM EST
I was curious to see how it would affect my laptop. It turns out the default
value 256 is already roughly 1/2 of my RAM of 576MB already. I really never
felt that the Standard client was all that unbearable to use. It was pokey
after the initial launch, but that is to be expected while it updates the
designs of my DBs. Thereafter, it's certainly useable. Can't wait to put it on
one of my other boxes that has some additional horsepower. I'm also running a
Pentium III XP Pro SP3 on this laptop (I like to stress my software so it knows
whose it's boss is).
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Rick Schumann on 11/03/2009 at 10:36 AM EST
BTW... I found my jvm.properties in the original location (pre 8.5.1) even
though I'm running 8.5.1. Go figure.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By David Goodchild on 11/25/2009 at 09:28 AM EST
Tried it on my 4Gb Ram laptop - 256 and 1024, and it was 35 seconds to start
notes whatever configuration (including changing the xms setting). I also tried
2056 however that crashed notes while it was starting. I tested this after a
reboot so it was a cold start each time. I wonder why it affects some and not
others?
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By David Goodchild on 11/25/2009 at 09:29 AM EST
By the way, using 8.02 on XP
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Andrew Pollack on 11/25/2009 at 11:07 AM EST
2056 will never be good, because 32 bit notes can't use more than 2gb in its
entirety. I doubt you'd ever see much difference about 1024, and 512 is
probably the point of diminishing returns.

If you're seeing that much performance problem, there are two things I'd check:

#1. Make sure that before you start it, all the other stuff on your machine is
done booting at the drive light is pretty much "off".

#2. It's drive performance. Try a good full defragmentation, and also make
sure you've compacted your local files recently.

SSD's are very overrated for data drives on XP. Search this blog for "SSD" and
find out more.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Jonas Israelsson on 01/19/2010 at 08:28 AM EST
Just applied the vmarg.xmx (for now on known as Eclipse Xmas gift to me) it
runs twice as fast for me. Will try some more and get back if I run into
trouble. Thanks for the info Andrew!
Max and Min memory in a JVM...By David Gilmore on 04/21/2010 at 10:08 AM EDT
- Very spiffy! I also set Xms to 256M, because that JVM-standard parameter
defines how much it starts with, where Xmx defines the maximum memory that JVM
can use. Working very well so far, though I haven't noticed an obvious speed
gain. (shrug) I may bump Xms to 512 later.
- Also based on standard JVM options, last I knew no JVM would use more than
1024M no matter what you set Xmx at, and in fact it may destabilize the JVM to
tell it more, but up to and including 1024 is fine. Could be remembering
incorrectly, but there it is.
- Thanks Andrew!
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By kuldeep on 05/20/2010 at 09:14 AM EDT
The best way to find jvm.properties file is to search My Computer for the file.
It will display all files in the search result and then modify from there by
double clicking and opening with Notepad.
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By karthik Jayakumar on 08/02/2010 at 03:06 AM EDT
Hi !

Am not able to find out (com.ibm.rcp.j2se) Can you please help me in this, If
came to know how to do it, I can educate to our team

Thanks
karthik
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Eric on 10/13/2010 at 07:15 PM EDT
Interesting explanation and developer opinion:

http://www-10.lotus.com/ldd/nd85forum.nsf/7756aedc25e6d81285256324005ac76c/f238a
7248969ac30852577bb0043f473?OpenDocument
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Karen Roberts on 10/18/2010 at 04:52 PM EDT
Not only did this improve my Notes performance (informal "test" showed about 3
times faster to open a note in Preview) it also seems to have fixed a bizarre
calendar problem where Notes was suddenly showing multiple instances of some
meetings. I shut down Notes, edited the field per the instructions, and now I'm
seeing normal calendar entries AND faster performance. It just doesn't get any
better than that !!

Thanks!
Karen Roberts
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Ravi on 11/18/2010 at 05:52 PM EST
What is the difference between this parameter and the JAVAMAXHEAPSIZE in
notes.ini?
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Brett Leach on 05/21/2011 at 08:43 AM EDT
This is great. I never felt like my Notes ran slowly before. Now I see how
fast it can go. Thank!!
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Adrian Costa on 04/15/2009 at 09:39 AM EDT
It Works.

anyone tries the sametime Fix?
re: Making Notes 8.x (including 8.5 beta) in Eclipse feel much faster.By Lars Berntrop-Bos on 11/22/2012 at 05:46 PM EST
It's official now, and they even tweek another parameter.
the IBM recommendation:
vmarg.Xmx=-Xmx1024m
vmarg.Xms=-Xms512m
vmarg.Xmca=-Xmca512k

Note the inclusion of Xmca, this parameter sets by how much the current heap is
increased if an allocation request makes it necessary to grow the heap. Must
test this but hope to be rid of seeming to hang designer...

check http://www-01.ibm.com/support/docview.wss?uid=swg21617708 for reasoning.


Other Recent Stories...

  1. 10/21/2014Quick update on the Domino SSL v3 "POODLE" , TLS, and SHA-2 issues -- Good newsI've been more than a little sidetracked on some family things for the last week, but my good friend Gab Davis forwarded me these two links today that should address these critical issues. They're long overdue already, and will be another couple of weeks, but let's be glad to be getting them. TLS Support in a fixpack for 8.5.1, 8.5.2, 8.5.3, 9.0, and 9.0.1 within a "couple of weeks"http://www-01.ibm.com/support/docview.wss?uid=swg21687167 And ...... 
  2. 10/16/2014Summary Recommendation for dealing with the POODLE SSLv3 Vulnerability on Domino serversRather than repeat what everyone else is writing about POODLE today, I want to give Domino server administrators a few quick items as it relates to them. In Brief -- and based on what I've been able to quickly learn: IS Domino affected? Yes. All Domino servers that are accepting direct HTTPS connections are impacted. THIS MEANS ALL TRAVELER SERVERS AS WELL. What is the risk to my server or data? The most immediate risk is access to user data and user impersonation. POODLE is the type of attack we call "Man ...... 
  3. 10/14/2014Speaking tonight ath the ICU One (aka NE Notes Users Group)For my Boston area friends in the Notes and Domino community, I'm speaking tonight at the ICU One (aka NE Notes Users Group) meeting in Cambridge. Come say hi. ...... 
  4. 10/09/2014Presentations from AdminCamp 2014 
  5. 09/17/2014IBM Domino Servers STILL don't support SSL SHA-2 Certificates - and it is about to be a PROBLEM 
  6. 02/09/2014Changing what I do at the Fire Department 
  7. 02/07/2014Dammit. I think I broke facebook. 
  8. 02/06/2014Sochi Olympics Pub Chat - Now Open 
  9. 02/05/2014Question for mobile app developers - what development platform do you recommend? 
  10. 02/03/2014Are you using a Surface Pro 2 or another Windows 8.1 Tablet? Want to use Traveler on the touch screen? It works! 
Click here for more articles.....


pen icon Comment Entry
Subject
Your Name
Homepage
*Your Email
* Your email address is required, but not displayed.
 
Your thoughts....
 
Remember Me  

Please wait while your document is saved.