public class HeapSpaceStringConverter extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
StringConverterin XStream used
String.intern(), which stressed the (rather limited) PermGen space with a large XML file. Since XStream 1.3 it use a WeakHashMap cache to always use the same String instances, but this has also major problems with a single long living XStream instance (as we have in Jenkins) See http://jira.codehaus.org/browse/XSTR-604
Use this to avoid that (instead those strings will now be allocated to the heap space.)
|Constructor and Description|
|Modifier and Type||Method and Description|
public boolean canConvert(Class type)
Copyright © 2004–2021. All rights reserved.