Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

memory issue in xsjs

$
0
0

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,


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>