Skip to Content
0
Former Member
Nov 16, 2013 at 05:34 PM

memory issue in xsjs

97 Views

Hi,

I'm trying to build a csv export using the xsjs (HANA rev.68) using the code from below.

while(res.next()){

for (icol=1; icol<=csvHeaderList.length; icol++) {

record = record + ","+res.getString(icol);

}

record += "\n";

}

The service crashes when the size of the string pass over 5.4 MB with the following error:

Found the following errors:

===========================

out of memory (line 673 position 0 in /sap/................./services/DBAccess.xsjs)

Is this a known issue or a normal behavior of HANA? Is there any parameter that increases the space allocated for variables in xsjs?

Thanks,