Tuesday, 27 March 2012

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.

Thursday, 22 March 2012

How to create a blank file with a fixed size

I had the need today to create a number of blank files with a fixed size.   I thought I would share the method.

fsutil is the program needed to create a blank file.   Under Windows 7, it needs to be run as the administrator.

It's used in the following way:

fsutil file createnew <name of file> <size in bytes>

For example the following line would create a 10mb blank Word document:

fsutil file createnew C:\file.doc 10485760

Just as the following line would create a 1gb blank Excel document:

fsutil file createnew C:\file.xls 1073741824

Wednesday, 21 March 2012

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

And so it starts again.   This isn't a new site, but it is a new start.  Almost everything is back, it was gone for a bit.

I've lost some images, and other attachments, but I'll dig them up again.

Thursday, 15 March 2012

Error (and solution) to "Cannot find external name:"

I've been meaning to share this for a while.   I've had this show up numerous times recently.   Sometimes you'll see it in the Lotus Notes client, but I've been seeing it in the server log most frequently.

The error is: 'Cannot find external name:' followed by a name in capital letters.

This is an error that is a result of having an agent signed by one ID file and an included script library signed by a different ID, usually the server ID.

The solution?  Resign both elements with the same ID.