On a Linux environment, why do we see that the physical memory usage is approaching to 100% even when the running BW engine does not use much memory?
book
Article ID: KB0084791
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution: Description: ======== On a Linux environment, why do we see that the physical memory usage is approaching to 100% even when the running BW engine does not use much memory?
Environment: ========= Linux
Symptoms: ======== On a Linux box, you may only have one BW engine with heap size set to 1GB while the total physical memory is much larger, such as 4GB or even 8GB. However, when running the "top" or "free" command to check the available system memory, it sometimes shows that the physical memory usage is near to 100%.
Cause: ===== This has nothing to do with the BW engine. Linux is borrowing unused memory for disk caching. This makes it looks like you are low on memory.
Resolution: ======= Linux will count the memory that is used for disk caching as "used". If your applications needs more memory, just take back a chunk that the disk cache borrowed. The disk cache can always be given back to applications immediately and automatically. To see how much memory is free to use for your applications, run "free -m" and look at the row that says "-/+ buffers/cache" in the column that says "free". The answer is in megabytes