Sherlock Memory Management

Lessons learned and suggestions from other users that might make you more productive when using Sherlock to analyze circuit card reliability. Registered users may post to this forum at any time.
Post Reply
User avatar
Nathan Blattau
Site Admin
Posts: 121
Joined: 21 Mar 2013, 16:40
Location: Beltsville, Maryland
Contact:

Sherlock Memory Management

Post by Nathan Blattau » 11 Apr 2013, 11:33

If Sherlock runs slowly when doing large projects and your computer has ample amounts of memory there is likely a Java issue. The main issue is that a 32 bit version of Java is installed which can not utilize the memory available.

The best fix is to download and install the 64 bit java version from Oracle.

http://javadl.sun.com/webapps/download/ ... leId=75261

Once this version is installed you can modify the setjava.cmd file or reinstall Sherlock to have it use the new java install.

To modify the setjava.cmd, navigate to:
C:\Program Files (x86)\DfR Solutions\Sherlock\

Using a text editor modify
C:\Program Files (x86)\DfR Solutions\Sherlock\SetJava.cmd
Change it from:
Set java = c:/Program Files (x86)/Java/jre7/bin/java.exe
to
Set java = c:/Program Files/Java/jre7/bin/java.exe

To increase the memory that Sherlock allocates at start up you will need to modify the SherlockClient.bat file located at:
C:\Program Files (x86)\DfR Solutions\Sherlock\SherlockClient.bat

on line 21, there is the following command
set javaopts=-Xmx1536M -Xss2M

Modify the first setting (-Xmx1536M) to reflect a higher memory amount
The following sets Sherlock to use 2.0G instead of 1.5G
set javaopts=-Xmx2048M -Xss2M
Nathan Blattau, PhD
Senior Vice President
DfR Solutions, LLC
9000 Virginia Manor Rd, Ste 290
Beltsville MD 20705

Frank Pittelli
Site Admin
Posts: 67
Joined: 21 Mar 2013, 14:06

Re: Sherlock Memory Management

Post by Frank Pittelli » 01 Nov 2013, 18:38

Starting in Version 3.0.1, memory settings can be changed using the convenient "Launcher Settings" dialog available in the Sherlock Client, Sherlock Result Viewer and Sherlock 3D Viewer.

Post Reply