UE-199993 SkeletalMeshComponent in dedicated server causes memory leak

If your blueprint inherits from ACharacter, then the VisibilityBasedAnimTickOption of the SkeletalMeshComponent defaults to AlwaysTickPose. However, if you manually add a SkeletalMeshComponent, the default setting is AlwaysTickPoseAndRefreshBones. Nevertheless, the engine allows you to change the default settings in an ini file by adding the following code to DefaultEngine.ini:

After doing this, I resolved the memory leak issue. Below are the data on memory allocation and deallocation for Animation after running for 20 minutes:

However, this should still be considered a bug in the engine, even though many projects perform performance optimizations on animations to avoid using AlwaysTickPoseAndRefreshBones .