Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-13-2004, 07:36 PM   #1
LQ Newbie
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Free Memory keeps dropping w/ Tomcat

I've got Tomcat running on a Linux machine with 2000GB of RAM.

The tomcat settings are JAVA_OPTS="-server -Xms1500M -Xmx1500M";

therefore, when i start Tomcat, I'll see free memory drop to about

500MB - which is expected. But, when tomcat is running and

especially under heavy load the free memory continues to drop

while buffer and cache rises. I understand that Linux places all

used memory into the buffer and cache and puts it back to free

memory when needed. But I'm confused as to why free memory would

be used at all since 1500MB of memory has already been allocated

to Tomcat. I mean, why isn't it pulling from it's own heap

instead of consuming Linux's free memory?
Old 05-14-2004, 01:12 AM   #2
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
i wouldn't be to worried until you run out, it might be using the "free" memory, then will use the buffer stuff when that runs out

what is tomcat anyways?, needing 500MB is a lot for any program (well, a lot for me :0 )
Old 08-29-2004, 12:07 PM   #3
LQ Newbie
Registered: Aug 2004
Location: India
Distribution: red hat linux 7.3
Posts: 1

Rep: Reputation: 0
I am sorry, This is not a reply but a question. Did you solve this problem of Apache using up all the memory available. If yes how did you do it. Please let me know.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Still having Free memory issues..? sspiro Linux - Software 14 04-07-2005 07:13 PM
How much memory is really 'free'? robbiemorgan Linux - Newbie 4 09-19-2004 08:05 PM
free memory from strtok? swinchen Programming 1 09-09-2004 12:01 AM
eth0: Memory squeeze, dropping packet maenho Linux - Networking 6 08-22-2004 06:28 AM
Free Memory keeps dropping w/ Tomcat booshleeka Linux - Software 0 05-13-2004 07:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration