Splitting an xml file is much slower on Linux than Windows

Solution In Progress - Updated -

Issue

  • Reading a 500MB xml file and using XMLEventReader/XMLEventWriter to split into files, Windows takes 10 seconds to process but Linux is taking 20 minutes.
  • Linux is writing 1 character at a time to disk.

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content