Question:
Help! I have a Java Memory Hog?
txconserv
2018-07-14 19:37:37 UTC
Java consumes over 1 Gig of memory on my computer. If I shut it down it starts right back up. How do I find which programs are using Java so I can find the memory Hog? Thanks.
Three answers:
husoski
2018-07-14 20:34:38 UTC
You can't just "shut down Java", and it's probably the application and not Java itself that's using all that memory.



If you don't need Java for anything you're doing on purpose, you might be able to sniff out who's using it by uninstalling it and seeing who complains.



How, exactly, did you decide that "Java" was using 1GB of memory? If you';re looking at the "Processes" tab on Windows Task Manager, for example, you can switch over to the applications tab, right click on one of them and choose "Go to Process" to see what main program that's running "java" or "javaw". I get under 100KB usage running GeoGebra 5, for example, and that's the running application *plus* the Java virtual machine combined.



If you're still stumped, the SysInternals Process Explorer can help. That's a set of free add-on tools developed by Mark Russinovich and later bought by Microsoft.

https://docs.microsoft.com/en-us/sysinternals/
txconserv
2018-07-19 03:11:01 UTC
I found the problem. It was a service that was calling Java. The service was "ignition". A crappy web based industrial operator interface program. The company treats the people that sell it well but the customer gets screwed with bad software. I shut it down and freed my computer. I wasn't even using the program.
2018-07-14 19:38:01 UTC
I don’t know


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...