Java Heap Space - Groovy Script (

I am getting a Java Heap Space error when I attempt to run a script using the command line interface (  I have tried increasing the heap allocation by adding Xms & Xmx to with no success.  I can whittle down the script by removing all error handling and make it run but, this is not a long term solution.

  • Some Object Sizes are running out of JVM in your code. Are you using ArrayList<Object> or any other type of List?

    What are you doing in your script? Can you paste your error and the line of code where it is failing.


    AJ Aslam