Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a text file with more than 10 million records and trying to process it using the tXMLMap to output as xml file. But during this process, found that tXMLMap dumps all the data with in it and it causes the java outofmemoryerror. Could you someone please help me with alternative or any configurations can be done on this to resolve the issue? thanks in advance.
Thanks
Bala
tal00000 wrote:
I assume it's Heap that you're running out of.
It's not always the best option; but it doesn't look like you've got much scope for anything else, here.
You could try increasing -Xmx which can be found on the Run tab under Advanced Settings.
tal00000 wrote:
I think setting -Xmx is a reasonable solution if you have the memory and you can set it to a value that is high enough to cater for your largest data set and overall performance is acceptable.
I don't know your data; but 10M+ rows in XML is quite a lot. Will the receiving system have similar issues?
It's simple enough to split you're data in to multiple XML files, and then either to retain them as smaller files or use less memory intensive components to reconstruct a larger file.