question

tleding avatar image
tleding asked tleding posted

iTest crashes when table RM has more than 3 keys

Folks,

 

I have a table style RM where I need to key off of at least 4 different fields.  the number of rows that will be parsed is in excess of 1000and when I have all of the keys enabled, iTest will hang and then crash.  The symptoms are that the memory in use climbs to over 250MB and it will not allow me to perform any garbage collection nor any operarion whatsoever.  Sometimes it will just hang and then I need to forceably close the application.  If I reduce the number of keyed fields to 3 or less, then this does not happen.

 

Does anyone know of limitations regarding table RMs, # of key fields, number of parsed rows, etc?

iTestresponse map
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
PaulD avatar image
PaulD answered PaulD posted

There are no specific limits on columns, rows, or keys.  But the amount of memory required grows as the product of these.  So it sounds like you may be trying to too much here.

 

When you say that you need to "key off at least 4 different fields", do you mean that these are all independent keys?  More likely, I assume, you mean that you need to provide the value for four different columns to uniquely identify the row you need?  If so, then I think the solution is that you need to define a custom query.  Don't bother marking all of those columns as key columns.  Instead, you'll create a custom query that takes four arguments -- corresponding to the four "key" columns.  In fact, you'll probably want custom queries with those same arguments, that extract each of the other columns given those four key columns.

 

When you do this, you'll probably find that memory is no longer a problem.

 

If you need some help doing this, post a sample of the response and we can help create the custom query examples for you.

 

Note that with custom multi-argument queries, you'll probably not find that the "blue boxes" are all that helpful for "point-and-click" analysis. You'll just need to manually add analysis rules using the "query" extractor, and entering the appropriate query by hand. 

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

KumarS avatar image KumarS commented ·

In iTest, we follow the policy of not restricting to the users to a certain memory limit. If the user is willing to spend more memory and CPU, he can use bigger response maps, workspaces, etc... The key is to know when you are reaching this limit and increasing the memory requirements of iTest (by changing iTest.ini) and your machine.

 

In this case, for each key column, iTest automatically generates a number of queries and evaluates them for you. This is what ends up giving you the "blue" box feedback in Response View, a list of evaluated queries in the Queries view. You can control how many queries iTest evaluates per response map using iTest preference under response mapping. So if you increase the number of key columns, iTest ends up evaluating larger number of queries and consequently, in this case, is running into "256 MB" memory limit imposed on it.

 

As PaulD suggested, you can just create custom queries instead of marking more columns as keys.

 

You can also remove unnecessary queries by going to "Queries" page in the response map editor and deleting other unnecessary queries and only keeping the ones you want. You can just select the auto-generated query and click customize. Do this with the queries you want then click the checkbox: "Do not use queries that were generated by the response map".

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.