Skip to content

XceptN’s Tech Stuff

All About Tech

Giant Java Processes

Posted on October 27, 2008 By XceptN No Comments on Giant Java Processes

As we see that the resident memory (RES) got for the java/jvm is 3.9 GB. As we are on an 32-bit system, that is basically pushing the limits of the address space. For this to happen the max heap for the JVM being run should have been set at least 4GB.

In principle no Java application is designed to use such a large heap. This can mean various things:

  • The JVM garbage collector is not working ok, or cannot catch up. The above generally points to a configuration issue with the use of JVM or less likely a bug with JVM. Otherwise:
  • The java threads are not destroyed when they are not needed anymore
  • The java threads does not release memory when they should.That is basically an application implementation problem. To diagnose that java thread dumps would be useful.  (kill -QUIT will do it but the target dump file depends on the application configuration using the JVM)

Apart from that from the Linux perspective if you can do the following it would be quite useful along with the other actions requested before:

  • Using top determine the java process with a high RES value, get the
  • Run:

# cat /proc//maps > /tmp/java.maps

and examine the memory areas. Possibly those will add up to 3.9GB – Not nice at all..

development, java, kernel, linux

Post navigation

Previous Post: Jumbo Frames and Nagle’s Algorithm (RFC 896)
Next Post: Linux Based Open Source Vehicle OS

Related Posts

Dipping Toes into Nix Package Manager | Installing Freeplane desktop
Linux Based Open Source Vehicle OS firmware
traceroute Fails with -F (do not fragment bit) Argument linux
New J2ME Project: GPSVoiceTag gps
Can NICs of separate VLANs be teamed by bonding ? linux
Unconditional Shutdown on PC HW desktop

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Dipping Toes into Nix Package Manager | Installing Freeplane
  • Fujitsu Workplace Protect Face Recognition Best Practices on Q704
  • Fujitsu STYLISTIC Q704 Fingerprint Scanner Problems
  • Two Generations of Computing Equipment…
  • IBM Model M Keyboard Goes Blank

Recent Comments

  1. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  2. XceptN on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  3. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  4. Kaylee on Mounting an LVM Logical Volume in an Oracle VM Disk Image
  5. Theron Conrey on Open Source Virtualization for Smaller Carbon Footprint

Archives

  • June 2024
  • November 2014
  • October 2014
  • April 2014
  • March 2014
  • December 2012
  • November 2012
  • October 2010
  • April 2010
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008

Categories

  • blogging
  • communication
  • desktop
  • development
  • firmware
  • Fujitsu
  • gprs
  • gps
  • hardware
  • internet
  • java
  • kernel
  • keyboard
  • linux
  • masteryourbiz
  • mms
  • mobile
  • multimedia
  • network
  • OracleVM
  • palm
  • python
  • rokr e6
  • social media networking
  • storage
  • sysadm
  • tablet
  • twitter
  • virtualization
  • wap
  • windows
  • wordpress
  • xen

Copyright © 2025 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark