|[Xpand] Out of memory when generating large files with Xpand [message #903459]
||Thu, 23 August 2012 17:03
| Alexander Fried
Registered: December 2009
I'm currently running into problems when generating very large files with Xpand, as I run out of memory. Unfortunately, it is not an option to just generate smaller files, as the file format and further processing is not in my hands, i.e. its just required to produce them this way.
From what I'm seeing, it seems to me that Xpand is first building up the complete file contents in memory and only after all is generated it is written out to disk. That way its clear that I'll run out of memory eventually. Is there an option to directly write the generated code to file while the script is being executed? If not, what else to do? I'd rather not switch to hardcoded println.
[Updated on: Thu, 23 August 2012 17:04]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03250 seconds