Showing results for 
Search instead for 
Do you mean 

Macro runs from API but fails with memory error when run from Command Line”

I have written a macro to add selected objects in a folder that works fine when called from the API but fails with an out of memory error when run from the command line

Error caught in requirement service Exception Text: java.lang.OutOfMemoryError: Java heap space at at at ....


I am using:

tcradmin -action runActivator -script <ActivatorID> -selected <listOfParameters> -user <username> -password <password> [-key <installationKey>]


Are there any command line arguments I can use to increase the memory allocated to the script?