title: Can a java project with a runnable that runs at a fixed rate stop after a while? Mine keeps freezing after about 40 hours
body: <p>After learning java on my own, i began a project for getting data from a website through api calls for a game called torn. There were a few little details i fixed thanks to some help, but the main issue i had is still not solved. after a day and a half of running, the program just freezes. i couldn't find anything about it so far. I took heap dumps for a while and i noticed some things. hope someone can help. During the first day or so, all is well (screenshot of heap dump after <a href="https://github.com/bookish303/FrozenJavaRunner/blob/master/after%203%20hours%20of%20running%20(during%20sleep%20timer).jpg" rel="nofollow noreferrer">3 hours</a> and after <a href="https://github.com/bookish303/FrozenJavaRunner/blob/master/after%2025%20hours%20of%20running%20(during%20file%20update).jpg" rel="nofollow noreferrer">25 hours</a>). Then, a few hours later, the program is still running but there is no instance of the method that runs it all (<a href="https://github.com/bookish303/FrozenJavaRunner/blob/master/after%2030%20hours%20of%20running%20(during%20file%20update).jpg" rel="nofollow noreferrer">screenshot after 30 hours</a>). A few hours after that the program is still running (as in it has not terminated or exited) but there is no activity and no instances of the methods at all (<a href="https://github.com/bookish303/FrozenJavaRunner/blob/master/after%2041%20hours%20of%20running%2C%202%20hours%20after%20it%20froze.jpg" rel="nofollow noreferrer">40 hours into run</a>).
  (Some of the images may require scrolling right and left to see all the info).
  I also noticed that after the program freezes, the thread for the runnable changes from "timed-waiting" to "waiting", which i also don't understand.</p>
  
  <p>I have also included the <a href="https://github.com/bookish303/FrozenJavaRunner" rel="nofollow noreferrer">code for my project</a> (minus the actual key used in connecting to the site) along with the images in case it helps.The main is in OtherFactionsStats.java .</p>
  
  <p>I appreciate all the help and advice -especially with my beginner status in java-, and thank you in advance.</p>