I know how to find out how much memory the Java Runtime has, but is there a way to check how much the OS has? Windows is reporting this error associated with Tomcat:
The CreateThread function failed for the following reason: Not enough storage is available to process this command.
We've got about 3GB of RAM in the Wintel machine and 1.5GB is allocated to Java. I'd like to just have a simple lightweight watchdog program running that's checking the OS's memory usage very frequently, and logs it to a file anytime it gets super high so that I can know for sure that we have a problem with this! If there's no way to do it, I guess I can try to figure out how to hack out a little C# program for this. Or should I not be asking about system memory and really only be concerned with checking the JVM used by the Tomcat process?
Thanks for any tips!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com