GreenPepper Seeds of GreenPepper
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
"Java Heap Space" issue with "do with"  XML
Forum Index -> Support
Author Message
dam


Joined: 05/02/2010 05:20:39
Messages: 5
Offline

Hi,

I have an issue when I use keyword "do with" with several parameters (issue begin with 5 parameters)
I use eclipse 3.4.2, greenpepper 2.5.4 and confluence 3.0.2.

I use this specification:

| import |
| com.pmu.iv4.fixtures |

| do with | open account |

| user open account with name | Hugo | firstname | Victor | day| 25 | month | 01 | year | 1980 | address | 21 Jump Street |

|end|

The fixture just retrieves parameters (that's all).
And when I launch the specification, I have a "Java Heap Space" error.
It's very curious, plus the fixture does nothing.

I have try with 5 parameters and there is no problem. But with 6 and more the issue Java Heap Space appears!
Is there a limitation with the parameters use by methods ?

Damien
fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

I remember having a fix that use less method calls to resolve the parameters...

Can you try with the version 2.6 of GreenPepper (http://www.greenpeppersoftware.com/confluence/display/GPW/Download) ? If you want to try it inside Eclipse, download the Open core Java, extract to a directory and specify this directory in the advanced settings as the Runner parameter.

Cheers,
Francois D.

dam


Joined: 05/02/2010 05:20:39
Messages: 5
Offline

It works with the version 2.6.

Thanks a lot Francois
fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

Cool...

If you want, you can use the new Scenario interpreter - It replace the Do With easily

Customer guide : http://www.greenpeppersoftware.com/confluence/display/GPWODOC/5.+Scenario+specification
Dev guide : http://www.greenpeppersoftware.com/confluence/display/GPWODOC/5.+Scenario+Fixture

The Bank example here (we rewrite the Bank for using the Scenario instead of the Do With) http://www.greenpeppersoftware.com/confluence/display/GREENPEPPERDEMO/Home

Cheers,
Francois D.
 
Forum Index -> Support
Go to:   
Powered by JForum 2.1.6 © JForum Team