Login or Register to Ask a Question and Join Our Community

Release the memory which is cached.

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Release the memory which is cached.
# 1  
Old 12-18-2008
Release the memory which is cached.


Can any one suggest me the way how can get mamory which has been cached during a process execution without rebooting the machine?
# 2  
Old 12-18-2008
I don't know of a general tool/binary to do that. Usually it is in the programmer's hand to release unused memory afaik.
Also like in your very similar post (which makes this one here: https://www.unix.com/unix-dummies-que...arge-file.html going on the borderline to a duplicate post and being closed), a lot depends on OS what kind of tools are available or not.

I just saw you are in discussion in this thread already so I close this one here:
Linux Server free memory decreases

You also got a helpful link here from Neo:
Free Linux Memory by Dropping Caches

Thread closed.

Last edited by zaxxon; 12-18-2008 at 08:29 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Memory release latency issue

I have an application that routinely alloc() and realloc() gigabyte blocks of memory for image processing applications; specifically performing rotations of huge images, or creating/ deleting huge image buffers to contain multiple images. Immediately upon completion of an operation I call free() to... (9 Replies)
Discussion started by: imagtek
9 Replies

2. SuSE

Cached account info

Hello, A admin at work created accounts for me on about 20 SLES 11 servers. He gave me the wrong home directory. He also didn't create a home directory for me on the servers. I have root/sudo on the systems. I usually use the usermod command or just modify the /etc/passwd file to fix issues like... (11 Replies)
Discussion started by: bitlord
11 Replies

3. UNIX for Advanced & Expert Users

release fre swap memory on AIX

Hello, How is it possible to free swap memory on AIX. when i do vmstat on machine i can see less than 1 Gb "fre" when usually I have around 5 GB. I dont wont to reboot the server. any idea? Thanks. (3 Replies)
Discussion started by: LiorAmitai
3 Replies

4. UNIX for Dummies Questions & Answers

Difference between buffered disk reads and cached reads?

I was analyzing the Disk read using hdparm utility. This is what i got as a result. # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 108 MB in 3.04 seconds = 35.51 MB/sec # hdparm -T /dev/sda /dev/sda: Timing cached reads: 3496 MB in 1.99 seconds = 1756.56 MB/sec... (1 Reply)
Discussion started by: pinga123
1 Replies

5. Red Hat

Need to release Cache memory

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)
Discussion started by: thakshina
4 Replies

6. Linux

Memory issues iin CentOS release 5.3 (Final)

New to the forum. I am running CentOS release 5.3 (Final) and have run into a unique situation. I have been able to determine that we have a swap memory leak due to an issue with an asterisk server. This specific issue takes approximately 2-3 months for enough of the swap to to be used before... (1 Reply)
Discussion started by: g0neinsane
1 Replies

7. UNIX for Advanced & Expert Users

GID mappings cached?

We had a mapping to one UNIX box just fine, the server was changed to another UNIX box and now when mapping drives from Windows box to new UNIX box, we get the old GID associated with our Windows user. When checking on new UNIX box, we see GID of 108, which is what we want, but when we map the... (0 Replies)
Discussion started by: bd4021
0 Replies

8. UNIX for Dummies Questions & Answers

is process data cached somewhere?

hi When I search a file with find, the subsequent search process takes relatively less time. Is it cached somewhere in RAM altough the process died? (3 Replies)
Discussion started by: xyzt
3 Replies

9. Shell Programming and Scripting

force process to release memory

Hey everyone! I've got a pretty big problem with our application that we're releasing in a couple weeks. The app is developed with Flash and Java, and the problem is that the Flash Player gobbles up OS memory and then never releases it back to the OS...it just keeps gobbling it up getting larger... (2 Replies)
Discussion started by: JKringen
2 Replies

10. UNIX for Dummies Questions & Answers

how to remove cached squid??

hi, how do i remove the cache from squid automatically every day?/ ie., from /var/spool/squid/ all the directories which has been cached here and restart ONLY squid without rebooting the system, including the swap.state files thanx in advance cheers (1 Reply)
Discussion started by: balu
1 Replies
Login or Register to Ask a Question

Featured Tech Videos