i have noticed that my server has 64 GB RAM and i have application in this server but the server has free memory only 15% and utilized 85% however it didn't eat from swap .
does any parameter can be configured in kernel to make the system clear memory from cache like linux
i found this command for linux and it worked it free the memory in redhat i want something like this in solaris ?
i have a question about if i rebooted the system this memory will be released may be to 66% utilization so i want any command to release without reboot
i am fraid of the memory utilization reach to 99% ?
tell me if it reached to 99% will it eat from swap or not ?
i have a question about if i rebooted the system this memory will be released may be to 66% utilization so i want any command to release without reboot
There is no point clearing caches. Unused memory is wasted memory.
Quote:
i am fraid of the memory utilization reach to 99% ?
The system starts to free RAM in only in case of shortage. The limit is tunable (lotsfree) and by default 1/64th or the RAM (98.5% used)
Quote:
tell me if it reached to 99% will it eat from swap or not ?
Possibly. That depends also on how you define eat and how you define swap.
i have noticed that my server has 64 GB RAM and i have application in this server but the server has free memory only 15% and utilized 85% however it didn't eat from swap .
does any parameter can be configured in kernel to make the system clear memory from cache like linux
i found this command for linux and it worked it free the memory in redhat i want something like this in solaris ?
IIRC, that just drops file system caches. It's only useful for doing benchmarking to figure out how fast your system can access uncached data.
The only scenario I've ever seen where it made sense to restrict cache usage is when you know you're going to need memory later. In that case, you'd want to put limits on cache usage so that you don't run into performance issues when your server suddenly needs more RAM.
Because freeing a lot of cache doesn't happen immediately - it can take substantial time.
Where this can really causes problems is when your transient memory needs large memory pages. File system cache tends to fragment memory into smaller pages, and if you're tight on free memory because your server has a lot of cached data, a sudden demand for large pages can cause serious performance issues as it tries to free pages and coalesce them into the requested larger pages.
Something like an Oracle database system with multiple large ISM shared memory segments running on ZFS...
But even in that case, you want to limit the cache usage beforehand, not clear it afterwards. Because it will just go back up again like it's designed to do.
Here are instructions to clear the data cache for four browsers, Safari, Chrome, Firefox, Opera. In these examples I'm using MacOS Mojave, but it should be similar for any OS.
You can use these instructions to to clear and reload the cache if you have any issues with the Vue.js UserCP (current... (1 Reply)
Hello all
i did search the web and found allot of answers but im confused
what are the best ways to get this info via Linux default commands
1. current Cpu Usage in Percent
2. current Memory Usage In Bytes
3. current Memory Available In Bytes
Thanks! (2 Replies)
#include<stdio.h>
#include<stdlib.h>
#include<sys/time.h>
#include<time.h>
#include "rdtsc.h"
#define SIZE 4*64*1024
int main()
{
unsigned long long a,b;
int arr={0};
int i;
register int r;
a=rdtsc();
r=arr;
b=rdtsc();
printf("1st element Access Cycles = %llu\n",b-a); (2 Replies)
The environment is Java/Windows. The program keeps near real-time state in memory cache, which is updated by multiple sources, size of the cache is roughly 500 MB, frequency of updates is ~ 20 per second. I am looking into different ways to keep current snapshot of the memory on the disk for a)... (9 Replies)
Right now i am using Red Hat Enterprise Linux AS release 4 and cache memory occupying around 1.5GB mentioned below,
total used free shared buffers cached
Mem: 2026 2021 5 0 161 1477
-/+ buffers/cache: 382 1644 ... (4 Replies)
Hi
I am running in Issue that my total system RAM is 8GB. If I run command
free -m I get 6.0 Gb RAM
free -m
total used free shared buffers cached
Mem: 7554 5928 1626 0 123 4798
-/+ buffers 1006 ... (3 Replies)
Hi,
I'm running a debian lenny 1GB ram, but with a high I/O. This server has 400IOPS and 3MB/s sustain. So, I noted cached memory use 800MB, buffered memory use 50MB, and no free memory is available. Questions:
What does mean such a high cached memory?
Who's using this cached memory?
Is... (3 Replies)
Hi all... am not so much brilliant in this area... here i think many good hearted peoples around... so if anybody have intention to reply for my problem please give me a cut and clear picture of how... Thanks.
ok comming to my problem...
In our MHC server (Sco Unix 4.*) running 19 C process... (1 Reply)