cancel
Showing results for 
Search instead for 
Did you mean: 

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

Pioneer
Pioneer

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 com.versant.fund.MSession._classObjectOf(MSession.java:625) at com.versant.fund.MHandle.classObjectOf(MHandle.java:119) 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?

 

TIA

Mark