Google ExcelAutomate.com: Memory Exception every time we open the RFT

Memory Exception every time we open the RFT

Sometime while opening RFT (Rational Functional Tester) we may faced the Memory Exception.
Going forward, if you face the same issues, just follow the procedure and fix it...!!!


1. Close RFT and make sure there are no multiple Javaw.exe processes in the task manager.

2. Go to Start > Run > %temp% . Clear all the temp contents

3. Go to the Workspace directory and delete the .metadata folder.

4. set a clean initialization of RFT by adding the -clean switch in the shortcut Properties of Java Scripting. Go to Start > All Programs> IBM Software Delivery Platform > IBM Rational Functional Tester > Right Click on Java Scripting> Properties, append the target with -clean as below:
"C:\Program Files\IBM\SDP\eclipse.exe" -clean -product com.ibm.rational.rft.product.ide

5. Increase Spy Heap Memory - Add a DWORD in registry to increase the SPYheapSize following

The default SpyHeapSize is 1048576. This value can be increased  by adding a DWORD value named SpyHeapSize to the registry and set its value to 2097152 decimal:
1.            Open the Windows Registry Editor by going to Start > Run and typing in regedit.
2.            Navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rational Test\8]
3.            Create a new DWORD value named SpyHeapSize and set its value data to 2097152 (or 200000 hexadecimal)

The key can also be added by creating a .reg file with the contents below and execute it.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rational Test\8]
"SpyHeapSize"=dword:00200000

6. Increase JVM heap size in the eclipse.ini file located under D:\Program Files\IBM\SDP\ (for example 2044)
    -Xmx2044m (Default value would be -Xmx1024m, make sure that your machine has enough memory to increase the JVM heap size)


7. Restart the machine and launch RFT and Turn off Simplified Scripting in RFT, Goto Windows > Preferences > Functional Test > Simplified Scripting and turn off Simplified Scripting.



Post comment if you face any further issues...

No comments:

Post a Comment