Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
Yes, I know whatever I m doing is quiet large requires lot of memory.. I want to know how can I increse heap memory?
Note : In Netbeans every time it gives same error.
and If I execute the program at command line, some times it gets executed completely, but some times gives above error.