java.lang.OutOfMemory error

Hi,
I am doing an export from a database into WebMethods, and then looping through the records in the boundNode to map to a DTD. The service works fine when up to 13 rows are returned. I find that when the rows returned from the database exceed 14, I receive the following error:
java.lang.reflect.InvocationTargetException: OutOfMemoryError

I have increased the maximum JVM memory to 2000 M in server.bat, as well as dropped as many variables as soon as possible throughout my service.

Does anyone know why I am running out of memory and how I can solve this?

Thanks in advance,
Rumana

Hi I came across your message in the forum. I am receiving the exact same error message. I was wondering if you were able to resolve your out of memory problem? Do you have any good advice for me, as far as tip and tricks or things to avoid to prevent or resolve the java.lang.reflect.InvocationTargetException:OutOfMemoryError.

                Thanks