Exception in thread "main" java.lang.OutOfMemoryError, How to find and fix??
- by or.nomore
hey,
I'm trying to programming a crossword creator. using a given dictionary txt file and a given pattern txt file. The basic idea is using DFS algorithm. the problem begin when the dictionary file is v-e-r-y big (about 50000 words). then i recive the :
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
i know that there is a part in my program that waists memory, but i don't know where it is, how to find it and how to fix it