Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.

Why is osfind showing "Out of Memory" error and the osagent is using very high CPU?

Why is osfind showing "Out of Memory" error and the osagent is using very high CPU?

Problem:

  • Product Version: VBE 5.2.1 Full
  • Platform Version: ALL
  • JDK Version: NA
  • Compiler Version: NA
  • Product Component: Osfind

Why is osfind showing "out of memory" error and the osagent is using very high cpu?

Resolution:

This is the expected behavior if a lot of objects are registered with the osagent. To resolve the osfind out of memory problem, the JVM's heap size could be increased while executing osfind, something like:

osfind -J-Xms128m -J-Xmx256m

The above command set the maximum heap size to 256MB and minimum heap size to 128MB. The heap size could be increased as needed.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 20:08
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.