Customer Portal

ext sort component

Comments 1

  • Avatar
    oldforum
    0
    Comment actions Permalink
    Hi,

    make sure you have correct parameters for both ExtSorter (sorterInitialCapacity) and JVM (-Xmx parameter - maximum heap size).

    As for ExtSorter, it allocates up to 8 buffers each slightly bigger than the previous one. The total multiplication factor is about 60 - i.e. total size of all allocated buffers is 60 * initial capacity.

    However, you problem can also be caused by JDBC driver - some of them try to preload all records for returned result set into memory - if the result of SQL query run against MSSQL is really large, it can be this problem.
    Check the JDBC driver documentation. For example MySQL JDBC driver does this unless fetch size is specified.

    David

Please sign in to leave a comment.