Character limit for System.out.println() in Java
问题 Is there any character limit for the output of Java's System.out.println(String x) statement? When I try to print some XML from a web service call using System.out.println() , only a portion of it is actually printed in the console. The XML string that I am trying to print is huge. Why is this happening? 回答1: Are you experiencing this within Eclipse? If yes: EDIT : Go to Window > Preferences > Run/Debug > Console Uncheck "Limit Console Output" (Alternatively you can increase the Console