reset password
Author Message
khoang25
Posts: 2
Posted 09:36 Dec 04, 2018 |

Hello, when I run my readFile() method for the DatabaseFileIO class, it gives me an error and says -Exception in thread "main" java.lang.OutOfMemoryError: Java heap space -.

I've looked online for solutions, but I still get the same error when i increase the heap size.

kknaur
Posts: 540
Posted 10:40 Dec 04, 2018 |

You might have an infinite loop somewhere that is using up all of the heap space.