1 Reply Latest reply on Apr 14, 2010 8:58 PM by HuiSheng Xu

    Performance impact of large process variables

    Justin Hayes Newbie

      Is there a general guideline to go by when deciding the size of the data stored in process variables? I.e. if there is a large amount of data (on the order of 15kb) stored in process variables, will that have a really negative effect on performance? I know that some variables can be transient but that probably won't help too much.

        • 1. Re: Performance impact of large process variables
          HuiSheng Xu Master

          Hi Justin,

            jBPM4 could use Blob type to store process variable, so if you want to do it, you can store a large data into process variable. But you should think about it whether it is necessary. Because you can't search that variable directly. Now jBPM just use Blob type to store the process definition xml files, process graphic and custom class files. Maybe some serilizable variable also store in the database, But they will be deleted when the process instance ended. The history variable feature is not yet implemente.


            I think you should think about all of above to determine whether or not use process variable to store large data.