RPG MV BGM Lag loading problem

I have a problem with custom bgm when i tested the game the game was lagging. It was lagging when my game was loading custom bgm.
Script Support is for those who need help with scripts on the older makers (XP, VX, VXAce).

I've moved this thread to MV Support. Thank you.

how big is that custom BGM?

the problem is that any resource can only be used after it is completely loaded, so you need to make that bgm smaller.
another option is to load the bgm earlier, but that requires you to know about memory management or risks even more lag.
Bgm weight is 6,37mb
thanks i converted the file to 2,65 mb and lag isn't appearing

Original thread: https://forums.rpgmakerweb.com/threads/rpg-mv-bgm-lag-loading-problem.114953/