Programming Questions? Ask a Programmer for Answers ASAP
Thanks for requesting my services.
As per your latest update, I will work on the outofmemory error problem and share you the code.
The error you have reported is "OutOfMemoryError: Java heap space error", most of the time this has nothing to do with program (unless there is lot of memory leaks), this problem is related to JVM heap space. This is fixed by setting proper heap space while starting the program.
We can set JVM heapspace as follows:
Add the -Xmx to the java command you are running and let me know how things go.
If needed we can do a quick remote session so that I can check how you are running the program and also help you change JVM heap settings.
Please let me know how things go.
All the best.