If this error happens during replay on the LG, then you might need to modify the FlexJvmParams in <script>\default.cfg
Or if you don't do any correlations in the failing step, then you might prevent the response serialization by using the "IsParseResponse=No" argument.