This is not a correct application and is a problem caused by human error. When a line in the properties file lacks the correct delimiter, a java.lang.OutOfMemoryError is caused.
example code:
//String content = "key=A-string-that-lacks-the-correct-delimiter"; //correct
String content = "A-string-that-lacks-the-correct-delimiter"; //The string that caused oom
Reader r = new StringReader(content);
Properties p = new Properties();
p.load(r);
System.out.println(p.get("key"));