question

Lily_Wang avatar image
Lily_Wang asked Lily_Wang posted

How to avoid getTable action for many times in a iteration loop

I create a procedure which needs to do getTable action in a iteration loop, however, if the there's thousands of iterations,  it will be out of memory. The procedure is as follows, you can see from the picture that getTable is included in the "for iteration", my questions is: can we only do getTable action 1 time, and retrieve it when needed?

Iteration_steps.JPG

 

 

Refer to the attachment for test report and error message screen shot!

iTestGUI Testing(Web-Java Swing-etc)
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

·
dzhu avatar image
dzhu answered dzhu posted

Hi Lily,

 

From iTest, Window->Preferences->General->Show Heap Status to see what the memory situation is like during a build.

 

And please try to modify iTest.ini from the iTest HOME folder:

 -XX:MaxPermSize from 128M to 256M 
 -xmx  from 384M to 1024M.



Regards,

Dan

10 |950

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

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.