Love hiccups on decent computer
Posted: Tue Dec 04, 2012 11:18 pm
I am working on a game with a friend and noticing some odd hiccups using the love engine on my machine (not just in our game, but in any game/example I run using Love). As an example, I get a hiccup where the program freezes for about a second when running the zoetrope demo's sprite benchmark (http://libzoetrope.org/). I can get over 2000 sprites in the sprite benchmark at 60fps, but there are those hiccups when getting there. My machine is fairly new (Intel Core i7-2600 @ 3.4GHz, 8 GB RAM) and I am running Windows 7 Home Premium 64 bit. I can run games like Skyrim fine and get these hiccups even after doing a reboot so I don't think it's performance related.
What's even more confusing is it doesn't seem to be related to garbage collection. In our game I use collectgarbage('count') every frame to show memory usage and the sharp declines (when I assume it is garbage collecting) do not line up with the hiccups. That is sometimes it hiccups and the memory keeps rising, and sometimes it hiccups and there is a drop in memory use right after the hiccup.
When I run love programs on my laptop, which is older and less powerful but also uses windows 7 64 bit, I do not see these hiccups.
Has anyone had similar issues, or does anyone have any insights?
What's even more confusing is it doesn't seem to be related to garbage collection. In our game I use collectgarbage('count') every frame to show memory usage and the sharp declines (when I assume it is garbage collecting) do not line up with the hiccups. That is sometimes it hiccups and the memory keeps rising, and sometimes it hiccups and there is a drop in memory use right after the hiccup.
When I run love programs on my laptop, which is older and less powerful but also uses windows 7 64 bit, I do not see these hiccups.
Has anyone had similar issues, or does anyone have any insights?