I am currently working on a sizable model project, and I've noticed that Live2D lags severely despite my PC still having lots of free resources that could be used.
Lags mainly happen when selecting layers, changing the order of objects in the Part or Deformer list, or using Undo/Redo. There is no visible lag when rigging (editing keyforms).
The CPU usage is very low, and I have around half of my RAM still free, which leads me to believe it is not due to my PC not being able to handle it.
Lowering the display quality or changing to texture atlas display doesn't lower the lag.
I would appreciate any help, as it is really difficult to work when most simple actions take as long as 10-20 seconds.
I'm attaching an example of the lag - after moving the Mouth XY deformed, I immediately press CTRL+Z so you can see how long Undo also takes.

Live2D Version: 5.2.03
OS: Windows 10 22H2
CPU: AMD Ryzen 7 5800X
GPU: AMD Radeon RX 9070 (16 GB VRAM)
RAM: 64GB DDR4 3600 MHz
Comments
Mostly of the lag happens on ram to CPU communication, you will see how a single core of your cpu (if you go to single core cpu usage) will spike to 100%... that is jsut how it works.
Telling you this as someone that have been using this program for like 4-5 years and have worked on models that have been Excessive on all possibles features.
With some colleages and friend we have tested different setups and yours lack of a more powerful CPU
Also the lag that happens due to Live2D being open for too long usually affects the whole program, which is different to my issue
If it's a CPU issue, do you have a recommended one or what specs exactly to look out for if I were to upgrade?
But you saying it lags from the start, how big is the PSD? did you optimize it ? How many PSD do you have in the project?
^ All of the above affects badly the program mostly if you have over 6-8 PSD's at once, or they have way too many layers that you aren't using... I hope it helps, remmeber to clean as well your project tab from any psd's you arent using or parts of the psd you have in use, that you deleted or arent using anymore!
For big projects it is almost required to optimize the PSD A LOT, if you want more info about it you can contact me via twitter or discord with this same name, I hope it helps!