I haven’t had any problems with my editor before and recently it’s been spiking in memory usage HARD. I’ll open my project and the editor is only using 1.6G of RAM at most, I’m quite a ways into my project, roughly 70 levels or so, and I’ve never experienced any lag before… and now when I do something as simple as rename a level or duplicate something in my content browser it spikes upwards of 29G of RAM until whatever I did is done processing then it levels out at about 17G. I have 32GB of RAM and I’m surprised it hasn’t crashed from memory usage since I have other applications running simultaneously.
I know I’m not providing that many details, but like I said all it takes is for me to rename something in my content browser for it to spike like that.
I may have found an answer, or at least it might be specific to my own stupidity. So I decided to build the light just to see what the light map would have to say about the issue… and it said my light map was too big. Ok, well what’s too big… I have 32GB of RAM and a GTX980M video card(8GB). Well, all my static meshes, including ALL my foliage was set to 1024 for lightmap resolution. I had over 1000 pieces of foliage and other static mesh actors(modular walls) in this particular level and no other level. That would explain the sudden memory consumption. That would also explain why it took about 10 minutes straight just to build the lighting in this one level. In case anyone might have a similar problem or assumes they are randomly having a memory leak, check your resolution settings. All of your settings related to graphics, resolution, lightmaps, etc… They add up very quickly, especially if your lightmap is 30 times higher than it needs to be.