shadowmage45 / TexturesUnlimited

KSP Shader, Texture, and Modeling Utilities
GNU General Public License v3.0
29 stars 17 forks source link

TU - Memory Leaks #67

Closed shadowmage45 closed 5 years ago

shadowmage45 commented 5 years ago

As reported on forums:

I've noticed that there is a memory leak in 1.3.6.20(1.4.7.21 appears to just be a recompile?). I did extensive testing in various scenes with and without this mod watching it with memgraph and resource manager. In the main menu, ksc, VAB, pad and in flight it also causes memory usage to increase at a steady rate forever until it eventually crashes when you change the scene again. It's not outputting anything to the log indicating that something is wrong with it.

Gordon-Dry commented 5 years ago

Could you also put the forum link here for quick finding?

Question (to the author of the forum post): Does it happen on all types of rendering, or is it bound to -forced-d3d11 and/or -force-glcore and/or without launch parameter (aka. DirectX 9)?

shadowmage45 commented 5 years ago

Could you also put the forum link here for quick finding?

Was reported through a PM, so... not really.

shadowmage45 commented 5 years ago

Should be fixed in the next update. Have disabled the TU reflection updating methods, which were the main use of 'Update' type methods were memory leaks might occur.

There may still be on-scene-change issues due to Material updates.

Gordon-Dry commented 5 years ago

I would like to know if the latest dev build is strictly for KSP 1.7.2 or if there is a chance that it can also be used on KSP 1.6.1.