AnsweredAssumed Answered

multi process on repository

Question asked by ozkan on May 28, 2014
Latest reply on May 28, 2014 by ozkan
Hi everyone,
I have an application that sends images to alfresco in a for loop. it's sending one image per second. Here is my a part of code :
 public static void main(String[] args) {

      Folder root = createSession().getRootFolder();

      CmisObject object = createSession().getObjectByPath(

            root.getPath() + TEST_FOLDER_NAME);

      Folder roota = (Folder) object;

      for (int i = 0; i < 1000000000; i++)

         for (int j = 0; j < 1000000000; j++) {


                  TEST_DOCUMENT_NAME_1 + new Date().getTime() + ".jpg");

            try {


            } catch (InterruptedException e) {





While I'm sending images to alfresco , I can browse images from alfresco web client but can't do it from share web client.
when I click to my repo folder that I sent images to, application and share web client get stuck and can't do anything.
Before this problem , I had OutOfMemory exception and I changed javaopt argument so it solved but now, have to I change some confg ?? What should I do ?? I m waiting your helps. Thanks