Tech Tip - Slow menu response when right clicking on a model or container in OneClick running on macOS Sierra

Document created by tarpa01 Employee on Oct 25, 2016Last modified by SamCreek on Dec 17, 2016
Version 2Show Document
  • View in full screen mode
Issue:

When performing a right-click on a model or container in Spectrum OneClick running on macOS Sierra (10.12.x), the menu does not appear instantly as in the past but can take many seconds (maybe 5 or 6), slowing responsiveness.

 

 

Environment:
Spectrum 9.4.x and 10.x macOS Sierra Java 8

 

 

Cause:

When a Java app calls the java.net.InetAddr.getLocalHost() class, it attempts a reverse lookup of this address and checks that it maps back to the input host name and this slows it down when its not explicitly defined in the /etc/hosts file of macOS Sierra.

 

 

Workaround:

To resolve this, explicitly name the mac in the /etc/hosts file? For example, if his Mac's host name is macPro, then, list it as; 

127.0.0.1 localhost macPro.local 
::1       localhost macPro.local 

 

 

http://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.TEC1370232.html

 

Attachments

    Outcomes