Error: “Out of memory” when recording a Java script

Error: "Out of memory" when recording a Java script

When recording a script using the Java-based Vuser, the user receives the error, "Out of memory." There is a lot of memory on the system.

Diagnosis:There is a huge file generated on the script folder with an .asc extension.

Set the "Generate Recording Log" option to FALSE

The huge file generated under the script folder (.asc) is the recording log file. In order to overcome the out of memory problem, you need to avoid generating this huge file. This can be done by changing the Recording Options.

1. Open VuGen.
2. Go to Tools -> Recording Options -> Recording Properties: Recorder Options.
3. Uncheck the settin for Generate Recording Log" (or set it to FALSE on some LoadRunner versions ).

Try to rerecord. The .asc file should not be generated.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s