Customer Portal

How to set the data buffer size

Comments 3

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    you need to increase the Record.MAX_RECORD_SIZE property value. It can be done by changing the value in the original defaultProperties file or by overriding it in the new file: just create new file with increased value of the property eg.:

    Record.MAX_RECORD_SIZE=18422

    and use -config switch when running graph (see Changing Default Clover Settings)
  • Avatar
    evergreen
    0
    Comment actions Permalink
    Hi,

    The original file is contained in the cloveretl.engine.jar file in its org/jetel/data subfolder. Copy the file from this place to your project directory and do what described above.

    You have also suggested about creating a new defaultProperties file in the project file.
    I have created the file in the project folder.

    But I am faced with the following error
    NFO [main] - Running on 2 CPU(s), OS Windows XP, architecture x86, Java version 1.5.0_06, max available memory for JVM 65088 KB
    INFO [main] - Loading default properties from: defaultProperties
    INFO [main] - Loading Clover properties from file:defaultProperties
    WARN [main] - Unable to load properties from 'defaultProperties'.
    java.io.FileNotFoundException: defaultProperties (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at org.jetel.data.Defaults.initProperties(Defaults.java:70)
    at org.jetel.data.Defaults.init(Defaults.java:179)
    at org.jetel.graph.runtime.EngineInitializer.initEngine(EngineInitializer.java:70)
    at org.jetel.main.runGraph.main(runGraph.java:289)
  • Avatar
    avackova
    0
    Comment actions Permalink
    Please check the file name or write it with whole path.

Please sign in to leave a comment.