Bug 45185 - Running a test plan that includes a CSV Data Set Config element with the Delimiter field blank causes an OutOfMemoryError
Running a test plan that includes a CSV Data Set Config element with the Deli...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.3.1
PC Windows XP
: P2 minor (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-06-11 07:29 UTC by Jon Schneider
Modified: 2008-07-05 10:56 UTC (History)
0 users



Attachments
A simple JMeter test plan with a CSV Data Set Config element with a blank Delimiter field. (2.46 KB, application/octet-stream)
2008-06-11 07:29 UTC, Jon Schneider
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Schneider 2008-06-11 07:29:03 UTC
Created attachment 22110 [details]
A simple JMeter test plan with a CSV Data Set Config element with a blank Delimiter field.

In a JMeter test plan that includes a CSV Data Set Config element, if the value of the Delimiter field is cleared and then the test plan is run, an OutOfMemoryError occurs, and the JMeter GUI crashes (closes).

The following error gets displayed in the console window: "Exception java.lang.OutOfMemoryError: requested 83886096 bytes for promotion. Out of swap space?"

The attached test plan, BlankDelimiter.jmx, reproduces the issue.

If the Delimiter field in the CSV Data Set Config element is set back to a value of ",", then the error does not occur; the test runs normally.

It would be helpful if there was better error handling for this case, e.g. if the GUI could inform the user that the Delimiter field must be non-empty.
Comment 1 Sebb 2008-07-05 10:56:23 UTC
Fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=674215&view=rev
Log:
Bug 45185 - CSV dataset blank delimiter causes OOM