• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Process RES size Java linux composition

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a Java process running on a linux VM and I'm trying to figure out where all of the resident memory is going. The RES size is 1.7GB while the components of what should be resident are around 400MB.

Sizes of memory components from visualvm:
Heap ~ 300mb
PermGen ~ 40Mb
Thread Stacks ~ 64mb
Shared libraries ~ ?

The output of top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28488 root 16 0 2627m 1.7g 32m S 51 21.5 2146:21 java


Can anybody provide details on the relationship between a running Java virtual machine and the RES size from the top command? Cant figure out why the process image is so large.

Thanks for your help.
JOe
reply
    Bookmark Topic Watch Topic
  • New Topic