Extreme Lag

I've tried everything, from updating my drivers, setting my laptop to Maximum Performance, to organizing my plugins in correct order and deleting all M4A files and anything I don't use.

I am really asking for somebody who has a VERY HIGH LEVEL of experience to test my project for a minimum of 30 minutes.

I experience VERY bad lag, I play for 30 minutes with no problems, suddenly my game starts to lag terribly for a while, then it freezes up for a few seconds and boom, 60 FPS again. I play for a little longer and BAM, super lag. I can't deal with it and cannot figure it out myself. Please, I need an experienced member to look over my project and help me solve this.
It's a memory leak from your project. Make sure your image files aren't also bigger than 1024x1024 if you can. Make sure they're all power of 2 file dimensions so your graphics card wouldn't freak out on performance.
Maybe the Chromium debugger might be able to help track down the performance problems too. As for the video card not liking non-power 2 textures I'd imagine that has a lot to do with drivers.
Make sure your image files aren't also bigger than 1024x1024 if you can

Could this really be a problem? 🤔

I'm using a higher resolution in my game, so many images (like menu-backgrounds and battle-layouts) are quite bigger than that.
It's a memory leak from your project. Make sure your image files aren't also bigger than 1024x1024 if you can. Make sure they're all power of 2 file dimensions so your graphics card wouldn't freak out on performance.

BINGO!

Thanks a bunch! I disabled Yanfly's icon picture plugin and played for 2 hours with NO lag and just tiny stutters when loading hue changed animations!

So, my icon pictures are 512 x 512 though... What are they supposed to be to fall within the requirements?
I don't really understand - how did you even realize now that it has to do with "Item Picture Images" from Yanfly? There is nothing about that in the post of Archeia, isn't it? 🤔
If you re-enable the plugin, does the problem start to happen again? If so,

how are you calling the plugin? Please show screenshots of some events so we can see what you're doing. Include the full event window - don't just crop to the event commands as the other stuff is just as (if not more) important in this case.
BINGO!

Thanks a bunch! I disabled Yanfly's icon picture plugin and played for 2 hours with NO lag and just tiny stutters when loading hue changed animations!

So, my icon pictures are 512 x 512 though... What are they supposed to be to fall within the requirements?
I don't really understand - how did you even realize now that it has to do with "Item Picture Images" from Yanfly? There is nothing about that in the post of Archeia, isn't it? 🤔

I'm guessing you're loading single 512x512 single images instead of a spritesheet or using a far smaller size. You should look into how computers render images to memory. It's your file dimensions that matter more than your file size and they tend to be bigger in memory than you could imagine.

Cuz if you load like fifteen 512x512, that can be heavy on your memory alongside other preloaded assets.
I'm guessing you're loading single 512x512 single images instead of a spritesheet or using a far smaller size. You should look into how computers render images to memory. It's your file dimensions that matter more than your file size and they tend to be bigger in memory than you could imagine.

Cuz if you load like fifteen 512x512, that can be heavy on your memory alongside other preloaded assets.

So do I resize them to something like... 128 x 128? Its tons of icons I'm replacing
So do I resize them to something like... 128 x 128? Its tons of icons I'm replacing

Unfortunately I can't help you here. You'd have to design your game to be as optimized to memory as possible. This is a developer design problem. If you want, read about Mobile Game Development to know your limitations and solutions they have regarding specific design problems.

Original thread: https://forums.rpgmakerweb.com/threads/extreme-lag.115454/