How to troubleshoot lag?

● ARCHIVED · READ-ONLY
Started by Yitzi Litt 5 posts View original ↗
  1. My game has a tendency to lag, and I was wondering if there's any way to see what's causing it?
    Thanks! :)
  2. of course there are ways to see that - for example by checking what exactly is happening at the moment it lags and at the moment it doesn't lag.
    But there are too many possible causes to even start looking without more info.
    Lag can be caused by too large files (especially parallaxed maps or large audio files), by a single badly designed parallel process, by too many events, by a wrong event, by not having sufficient computing power and other causes...
  3. What version of MV are you running? At one point there was a memory leak.

    I have had luck using F2 to show my FPS. When this is lowered by an area, I know I need to adjust something.
  4. @Grunwave version 1.51 (didn't want to mess with a good thing:))
  5. 1.51 is after the memory leak fix. So that should not be your issue.

    What happens when you have F2 FPS showing during laggy parts? If it drops below 50, how many events are running. Are you using any lighting effects in those areas?