I'm going crazy because i'm getting the following error and i can't figure out why.
java.lang.OutOfMemoryError:
Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)
at java.lang.StringBuilder.append(StringBuilder.java:203)
at com.autonomy.ps.gs.IDOLListener.doPost(IDOLListener.java:37)
my code is
Line 37 is the append line. What am i doing wrong? I tried to put a sysout before the append to see what characters are being sent to my
servlet post, but there is nothing in the logs. This happens even after i restart
tomcat and there is nothing hitting the servlet.
Thanks