Coder Social home page Coder Social logo

Comments (4)

malcolmcif avatar malcolmcif commented on August 15, 2024

Hi Peter,
so we can assume your command line parameters are ok, and it would appear you have specified the correct nodeRef (given your content in the node is exported), so lets look at reasons why it may not work:

  1. is there any log information in alfresco.log? look at the working version and non working version to get a feel for what it should look like. In particular this line "Nodes to export = ".
  2. there is a limitation in the code where it will not export more than java's List size (int i think), but you are not hitting this problem, a shame it exists in the code, oops.
  3. does it take a while to not work correctly or does it finish quickly?
    3.1 if it takes a long time then maybe the java virtual machine is running out of memory
    3.2 if it is quick then it is not identifying the folders, unsure why - what number is defined in the log for "Nodes to export = "
  4. maybe turn the cache off (i.e. useNodeCache=false) and see if it changes the behavior

we will see if any of the above helps.

good luck.

from alfresco-bulk-export.

choepeter avatar choepeter commented on August 15, 2024

Thank you for getting back to me so quickly.

  1. The nodes to export show an initial number of 3511, but I can't tell if those are only files or include the sub folders.
  2. ???
  3. The export finishes, but it is taking a lot shorter than it should given the number of documents that are in the repository.
  4. I've ran the query without the useNodeCache explicitly set, which is supposed to be default to false.

I've directly put the node reference of a sub folder and that one seems to be exporting all the sub folders also. (over 1 million objects)

from alfresco-bulk-export.

malcolmcif avatar malcolmcif commented on August 15, 2024

You are exercising a bug somewhere in the code, something to do with the amount you are trying to export at a guess.

Are you sure your jvm has enough memory?

  1. the number 3511 should represent every node (including folders) it intends to export. given your last comment about 1 million items in a sub folder, it is obvious 3511 is incorrect. I presume when you export the sub folder, the Nodes to export represents a sensible number.

  2. the implication is you will not be able to export more than 2147483647 items.

  3. understood.

  4. correct, default is false. when you set to true do you see the .cache file generated in the root node?

Do you see the message "Bulk Export finished" when doing either export?

from alfresco-bulk-export.

choepeter avatar choepeter commented on August 15, 2024

Yes. I do see the message Bulk Export finished when the export is run.

The Alfresco service is allocated 9 GB. I haven't seen any error messages related to memory issues in the log.

from alfresco-bulk-export.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.