We had the problem while creating a .csv file with webutil client_text_io, that it stopped working after around 8000 lines. After some research we figured out, that webutil is actually not creating the file on the file system, but keeping it in the cache till the procedure is finished. So it depends on your RAM how many lines you can generate.

The solution is to fire a ‘synchronize’ after 8000 lines generated. This writes the lines to the files and empties the memory.

Don’t fire the synchronize after every line in the loop. This will crash your network, because every synchronize is a network round-trip.

If you have a Webutil/Java Integration Problem please feel free to contact me or take a look at our website: http://pitss.com/us/services-solutions/development/