Huge frame times
3 posters
Huge frame times
Every now and then I get very huge frame times in sio2->_SIO2window->d_time. Is someone else experiencing this problem, too, and has probably looked into that?
I'm right in front of a deadline and need to see through some other bugs, so I would greatly appreciate any feedback.
Thanks,
Matt
I'm right in front of a deadline and need to see through some other bugs, so I would greatly appreciate any feedback.
Thanks,
Matt
Re: Huge frame times
Can you send me a piece of code to reproduce this bug so I can debug it...
Tks in advance!
Cheers,
Tks in advance!
Cheers,
Re: Huge frame times
I can't reproduce it (yet), sorry, and I don't think it's a problem in my code since at this part, I'm relying on SIO2 completely. One symptom is e.g. that the whole game suddenly hangs because a n_particles in a particle system is suddenly a very huge number and loop-exit conditions with != don't work anymore. When I look into d_time then, it's very huge (five digits and more). I'm working around this currently by limiting the d_time to a maximum of five seconds.
Best,
Matt
Best,
Matt
Re: Huge frame times
Dude that sounds like a leak to be or a bad allocation that push all the other bytes in memory...
try to put some while(1) nested at some "strategic" places and check if it crash...
try to put some while(1) nested at some "strategic" places and check if it crash...
Re: Huge frame times
matt wrote:I can't reproduce it (yet), sorry, and I don't think it's a problem in my code since at this part, I'm relying on SIO2 completely. One symptom is e.g. that the whole game suddenly hangs because a n_particles in a particle system is suddenly a very huge number and loop-exit conditions with != don't work anymore. When I look into d_time then, it's very huge (five digits and more). I'm working around this currently by limiting the d_time to a maximum of five seconds.
Best,
Matt
maybe because you are in debug and stoped at some line.
sw- Posts : 73
Join date : 2008-10-12
Re: Huge frame times
sw wrote:maybe because you are in debug and stoped at some line.
I wish that would be the cause. But I don't break a frame for 500000 seconds or so. ;-)
Matt
Similar topics
» sio2ImageLoad, Error from debugger: previous frame identical to this frame
» Load times
» Frame Rate Issues
» Static frame rate
» Load times
» Frame Rate Issues
» Static frame rate
Permissions in this forum:
You cannot reply to topics in this forum