Filr high utilization on Java

  • 7012478
  • 24-May-2013
  • 31-May-2013

Environment

Novell Filr 1.0
8Gb RAM
6Gb Java Heap size

Situation

  • The Java process is constantly using above 85% CPU.
  • Sometimes the application cores.
  • Large sized Net Folders.
  • Multiple Net Folders added at the same time.
  • Trying to index multiple large net folders at once.

Resolution

A fix has also been checked into 1.1 that should help with this.

Workaround:
Increase to at least 12Gb RAM, and Java heap to 8Gb, and don't try and index too many large folders at once.  More Memory may be needed then what's listed here.

Cause

Java is a memory hog, it will use as much memory as it is given.  Trying to do to much will cause it to eat up a lot of memory, while it tries to accomplish it's assigned task(s).

Additional Information

Increasing the memory, gives Java more to work with.  In some situation, it may be needed to increase the the amount of memory and the heap size beyond the normal recommended limits of 12Gb RAM and 8Gb Java Heap. 

Typically the Java Heap size should be about half of the RAM, but it is possible to increase it to 3/4 in some situations.

Remember to clean up any unneeded core files, to conserve free space.