public static void main(String[] args)
    {
        try
        {

            SampleClass _clazz = new SampleClass();
            List<String> testStrings = new ArrayList<String>();
            for (int i = 0; i < 1800; i++)
            {
                String test = new String("TestingString" + i);
                testStrings.add(test);

                try
                {
                    _clazz.setTestStringList(testStrings);
                    byte[] serialize = serialize(_clazz);
                    System.out.println("Payload Size = " + serialize.length);
                    SampleClass deserialize = deserialize(serialize);
                    System.out.println(deserialize.getTestStringList().get(i));

                }
                catch (Exception ex)
                {
                    System.out.println("Failed");
                }
            }
        }
        catch (Throwable e)
        {
            e.printStackTrace();
        }

    }
From https://groups.google.com/forum/#!topic/protostuff/D7Bb1REf8pQ (Anil Pandge)
protostuff-core/src/test/java/io/protostuff/CodedDataInputTest.java