I have to frequently check the memory usage by an application - it right does it every 60 seconds using java.lang.Runtime.freeMemory()/java.lang.Runtime.totalMemory()
What if I do the above say every 5 seconds - any performance implications?
(Hopefully not like System.gc() has)
The application runs on Linux/Solaris/Windows/HP-UX/AIX etc