I recently created a server on my older computer a 2.4ghz quadcore Windows 7 64bit computer with 6 gigs of ram with 2 gigs dedicated to the server. 64 bit java. At first everything was fine, was able to easily handle me and a few friends. I was busy with work for a few days and after logging in after that few day absence I noticed a slight lag in the world ( nothing game breaking, but certainly was not there before ). I restarted the server using the GUI to trobleshoot the problem thinking it was the memory, but no. The server sits at about 180MB of ram with me on it and the cpu is not anywhere near capping out. The only thing i was able to notice was that the average tick normally would sit at about 5ms, but every once in awhile it would jump up to 25ms which i belive is my problem. Anyone know what may have caused this?
TL; DR
server was running without lag, now has slight lag even though it sits at 180MB of ram out of 2Gigs. I mean it has 1.8Gigs of ram remaining.