Memory usage

Arcanemuse

Active Member
Messages
32
On my desktop, SwordSearcher is using 542MB of ram. I noticed this when I was having issues with high memory usage. I shut down some memory hogs and all is better but that shouldn't be like that. On my laptop, it's using about 4MB. I'm puzzled. I don't understand why it's using all that memory on the desktop. Any ideas? It's on Win 11. I'd blame an update but the laptop gets the same ones. No known viruses either. I've done recent scans. Also have run Malwarebytes for any other surprises. Nothing found. This is crazy as it is using more memory than any other program on my system at this point, including Logos. LOL Sorry for the double post. I thought the first one got lost.
 
I am using 28mb of memory on Windows 11 Pro. SwordSearcher 10.0 (10.0.5.26020 x64)

1778317596811.png
 
500MB really isn't much on a modern system. I've got apps sitting idle right now eating 1.5GB. SwordSearcher loads and keeps a fair amount of data "warm" in memory as you use it (Bible text, indexes, modules you've opened, search caches, etc.) so it can respond instantly instead of hitting the disk every time.

The desktop vs. laptop difference almost certainly isn't that your desktop is doing something wrong, it's that the two machines are in different states. If the laptop is showing 4MB, that usually means SwordSearcher just launched, or Windows has paged most of its working set out because something else needed the RAM. Use it for a while on the laptop and you'll see that number climb too. Or look at it on the desktop right after a fresh launch and you'll see it start small.

The important thing: if another program actually needs the memory, Windows will reclaim it from SwordSearcher automatically. Unused RAM is wasted RAM. The OS would rather let an app keep useful data cached than have it sit empty. So when you saw memory pressure and shut down some other programs, that freed things up; SwordSearcher would have given memory back on its own if it had to.

Nothing to worry about here. It's working as intended.
 
OK. I won't worry about it. I don't have anything else using that kind of memory and I don't recall SwordSearcher ever using anywhere near that much. Even my browser with 107 tabs open I keep in check with a program called firemin. It's made for firefox but it works keeping brave in check. I only use a few hundred megs of ram. If something on my system was using 1.5 gigs of ram just sitting idle I think I would uninstall it. Have you seen how much they want for memory now? @@ I went to add a 32 gig stick to my system and they wanted almost 250 bucks. That's just insane. I ended up finding a used stick for 99. Much better but still pretty high I think. Then again, I am poor. LOL Everything to me is expensive these days.
 
If something on my system was using 1.5 gigs of ram just sitting idle I think I would uninstall it.
Why? Why have RAM that doesn't get used? Why force the application to re-initialized and re-calculate everything that was loaded into RAM every time you switch back to it? The OS knows when it needs to reclaim the memory for other apps; I just let it do its job.

The Natural Language Search features added in SwordSearcher 10 take about 400 megabytes of RAM to function properly. That gets paged in and out of memory as needed, but if I were forced to take it all out of RAM after your search finishes, you'd lose the speed and responsiveness you currently get with it, for no gain. If you switch away from SwordSearcher and don't use it, and then some other application needs memory while you have a memory pressure issue, the OS will page SwordSearcher out automatically to make room. All of this works as intended. You don't need to manage it.

I know some people like to see half their memory empty, but to me it seems like a waste. Empty RAM is not being used -- why have it? :) As you pointed out, it's expensive! I want mine to be used, not empty!
 
Back
Top