Hi Lars,
Thanks for your response, but I'm having trouble at the application side either.
I need to generate a large TXT file. The XSJS cannot handle the file generation:
| var resultadoConcat = []; | |||
| var keys = Object.keys(result.FILE); | |||
| keys.forEach(function(key,i,a){ | |||
| var e = result.FILE[key]; | |||
| |||
| }); | |||
| result = resultadoConcat.join(''); // Even if fewer I create lines with 8,388,607 chars, it dumps here | |||
| $.response.status = $.net.http.OK; | |||
| $.response.contentType = "application/text;charset=utf-8"; | |||
| $.response.headers.set("Content-Disposition", "attachment; filename = file.txt"); | |||
| $.response.setBody(result); |
Even with an HANA of 512GB I get an timeout or a Out Of Memory error when trying to generate with XS. When I try to concatenate at server-side, the SQL Function CONCAT, the maximum length of the concatenated string is 8,388,607, my file its bigger than that.. I really can't see how to generate a Big File using SAP HANA..