1 Reply Latest reply on Nov 11, 2009 5:02 AM by Jasmin Charbonneau

    Problem while deploying LCAs : Java heap error

    Prabhat_25

      I am deploying a LCA archve thru ant scripts.The erroe coming is like

       

      run:
           [echo] LC Archives creation and deployment -- In the main ()
           [java] Create and deploy LC archive init() called...
           [java] Nov 11, 2009 6:09:20 PM com.adobe.idp.applicationmanager.client.Appl
      icationManagerClient <init>
           [java] INFO: ApplicationManagerClient:init()
           [java] ###### -- IN the MAIN -----####
           [java]
           [java] ###### -- Length of args -----####4
           [java] ###### -- IN THE  DEPLOY MODE -----####
           [java]
           [java] Deploying New LCAs...
           [java] Nov 11, 2009 6:09:21 PM com.adobe.idp.applicationmanager.client.Appl
      icationManagerClient callApplicationManager
           [java] INFO: ApplicationManagerClient:callApplicationManager:importApplicat
      ionArchive
           [java] Nov 11, 2009 6:09:23 PM com.adobe.idp.applicationmanager.client.Appl
      icationManagerClient callApplicationManager
           [java] SEVERE: ApplicationManagerClient:callApplicationManager:Exception:ja
      va.lang.IllegalStateException
           [java] java.lang.OutOfMemoryError: Java heap space

           [java]     at com.adobe.idp.applicationmanager.client.ApplicationManagerCli
      ent.callApplicationManager(ApplicationManagerClient.java:108)
           [java]     at com.adobe.idp.applicationmanager.client.ApplicationManager.im
      portApplicationArchive(ApplicationManager.java:147)
           [java] ## --- END OF DEPLOYMENT TASK -- ##
           [java]     at test.com.sample.LCAUtils.CreateAndDeployLCA.OriginaldeployLCA(Cre
      ateAndDeployLCA.java:264)
           [java]
           [java]     at test.com.sample.LCAUtils.CreateAndDeployLCA.multipleDeployLCA(Cre
      ateAndDeployLCA.java:337)
           [java]     at test.com.sample.LCAUtils.CreateAndDeployLCA.main(CreateAndDeployL
      CA.java:484)
           [java] Caused by: java.lang.OutOfMemoryError: Java heap space

       

      here java  java code works fine for small sized LCAs but mLCA which is around 8-9 Mb is creating problems

       

      PLease suggest a solution.

       

      REgards,

      Prabhat