I've tried another forum and haven't received an answer there so I'm hoping someone here will be able to suggest an answer. I have a data string that was extracted from an Oracle DB and translated from XML using XSLT. Everything works fine until writing to a file. I can get the data String to print to the screen in its entirety. However, when I write the String to a file, it truncates it. I've tried all the stream output pipes and same error occurs. The PrintWriter send back a message "File Too Large". Its not that large ... about 70k. Now I'm trying to tokenize the lines as they don't have line breaks. Could this be the problem? Can anyone advise? This is majorly driving me crazy! s-)