Linux defrag memory

I am checking my memory with "free" command but it is always increasing my used memory :D
is there anyway for defragment of it
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nop ,

but what you meant by used memory ??

does it show cached ??? cached is always good.

can you show me the out put of

free -m

and tell me which is one bugging you
If you want to know the amount of used or free memory, you must always read the line

-/+ buffers/cache:

of the free command.
CahitEyAuthor Commented:
i know i could see the memory usage but i just want to know if there is a way for defrag
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

no you cant defrag memory uses

may be we can help you to find out which process is eating your memory and further but not defrag
CahitEyAuthor Commented:
i know it is a php site :D
but i do not know which module is encountring this :(
then it would be Apache issue

php works with apache...

whats the outpu tof

free -m


ps -auxf | sort -nr -k 4 | head -10
Even if there was a defragmentation tool (there isn't!), it wouldn't change the memory consumption: only the layout of the chunks would change.
However the layout doesn't matter, because the mapping to the real memory chunks is done by hardware anyway. There is no performance penalty. It's handled by the MMU (memory management unit) of the respective processor.
CahitEyAuthor Commented:
Fosiul01 i have not seen your comment sorry;
please check this  :
Well, he asked for information on the memory fragmentation. I'm not particularly keen on the points (are they good for anything on the receiving side ???), but that was, what he asked for and he has been answered.

You really did not get my point for objection. its nothing to do with 500 points for the question last year i had loads of points!!!  .. its because i am confused why he accepted your solution

the question was : can you defrag the memory ?

the answer is NO you cant . which i said to him from my first post to last !!

if i look at  your post.. none of your post saying  that you cant defrag the memory except the last one ID:30700678(you agreed that there is not any defra tool but i already said that so many time in my post : ID:30699035 , ID:30699844 ) then you added some extra theoretical bit which to me did not make too much  sense related to this question. which actually referring the same thing as i said " no you cant defrag"

hence I wanted to know from author what he understood  from your solution.

anyway @author told in his comments ID:30701086 that he did not see my comments .. which made sense..

right now i don't mind closing this questions by accepting your solution as i know he actually did not see my post ..

hope it does make sense


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CahitEyAuthor Commented:
Thanks for detailed description
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.