I responded to a posting on the user list concerning session resources. I am having a problem with debug-level messages written to my logs with large data sets. I'd like to propose a couple of ideas:
1) Give us information on how to build with Maven and remove the debug statements from the code with the build.
2) Allow us to maintain a config-file holding tablenames we wish to have logged.
3) Modify the logic flow of the loop which iterates over the data set. I can see how the need to build links to subsequent pages would need to iterate over the entire list, but what if it did so in this manner...
 
int i =0;
int n = 1;
int linesPerPage = 10;
 
for(  ; i < dataSet.length() ; i + n ){
   
    // do your work
    // test if first page is processed
    if(i >= linesPerPage){
        n=linesPerPage;
        // subsequent pages will only log one row, will only evaluate one row in building the links as now it steps by 10, for example
    }
 
}

Reply via email to