[jbosstools-issues] [JBoss JIRA] (JBDS-4680) Slow startup time on MacOS High Sierrra 10.13

Nick Boldt (JIRA) issues at jboss.org
Thu Mar 22 09:57:02 EDT 2018


    [ https://issues.jboss.org/browse/JBDS-4680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549811#comment-13549811 ] 

Nick Boldt commented on JBDS-4680:
----------------------------------

The idea behind moving your ~/.m2 folder was that on first startup it would be SLOW but then subsequent ones -- once the ~/.m2 folder was populated after downloading the internet - would be much faster.

I would suggest you try again:

1. mv ~/.m2 ~/.m2-backup2
2. start devstudio using spotlight search (as opposed to terminal)
3. record how long initial startup takes
4. shut down devstudio
5. start devstudio again using spotlight search (as opposed to terminal)
6. record how long second startup takes

If the above doesn't help, you could also see if there are bad settings in your ~/.eclipse folder (perhaps from a previous install?) or if your workspace has become corrupt. 

For the first possible issue, mv ~/.eclipse ~/.eclipse-backup 

For the second, launch devstudio and when it opens, point it at a new workspace folder (that doesn't already exist, so it will be created).

Once that's done, record the startup times for initial and subsequent startups.



> Slow startup time on MacOS High Sierrra 10.13
> ---------------------------------------------
>
>                 Key: JBDS-4680
>                 URL: https://issues.jboss.org/browse/JBDS-4680
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: central, installer, upstream
>    Affects Versions: 11.1.0.GA, 11.2.0.GA
>         Environment: os x high sierra
> jdk 1.8.0_161
>            Reporter: Anton Giertli
>             Fix For: 11.3.0.AM3
>
>         Attachments: jstack_threaddump.out
>
>
> JBDS tends to start slow - i.e. 90-120s.
> Thread dumps attached - 20 dumps in total, one per every 5s.
> JBDS started after 19th dump.
> Log from today:
> !ENTRY org.eclipse.jdt.core 4 0 2018-02-27 09:22:53.857
> !MESSAGE Invalid ZIP archive: /Users/osiris/.m2/repository/org/jboss/resteasy/jaxrs-api/2.3.12.Final-redhat-1/jaxrs-api-2.3.12.Final-redhat-1.jar
> !SESSION 2018-02-28 08:46:28.303 -----------------------------------------------
> eclipse.buildId=11.1.0.GA-v20171026-1022-B1486
> java.version=1.8.0_161
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> !ENTRY org.eclipse.core.net 1 0 2018-02-28 08:46:46.453
> !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
> !SESSION 2018-02-28 08:47:39.203 -----------------------------------------------
> eclipse.buildId=11.1.0.GA-v20171026-1022-B1486
> java.version=1.8.0_161
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> !ENTRY org.eclipse.core.net 1 0 2018-02-28 08:47:41.906
> !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
> !ENTRY org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
> !SUBENTRY 1 org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE A conflict occurred for COMMAND+SHIFT+F10:
> Binding(COMMAND+SHIFT+F10,
> 	ParameterizedCommand(Command(org.jboss.tools.common.ui.RegisterAsService,Register As Service,
> 		Adds class name to META-INF/services/%serviceType% file after service type is selected in the dialog from types extended and implemented by the class.,
> 		Category(org.eclipse.ui.category.file,File,null,true),
> 		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 2898cd46,
> 		,,true),null),
> 	org.eclipse.ui.defaultAcceleratorConfiguration,
> 	org.eclipse.ui.contexts.window,,,system)
> Binding(COMMAND+SHIFT+F10,
> 	ParameterizedCommand(Command(org.eclipse.ui.window.showSystemMenu,Show System Menu,
> 		Show the system menu,
> 		Category(org.eclipse.ui.category.window,Window,null,true),
> 		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 7ebf5bf,
> 		,,true),null),
> 	org.eclipse.ui.defaultAcceleratorConfiguration,
> 	org.eclipse.ui.contexts.window,,cocoa,system)
> !SUBENTRY 1 org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE A conflict occurred for ALT+COMMAND+Z:
> Binding(ALT+COMMAND+Z,
> 	ParameterizedCommand(Command(org.jboss.tools.cdi.ui.open.namedBean,Open CDI Named Bean...,
> 		Open CDI Named Bean...,
> 		Category(org.eclipse.ui.category.navigate,Navigate,null,true),
> 		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 5d8cbb32,
> 		,,true),null),
> 	org.eclipse.ui.defaultAcceleratorConfiguration,
> 	org.eclipse.ui.contexts.window,,,system)
> Binding(ALT+COMMAND+Z,
> 	ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu,Surround With Quick Menu,
> 		Shows the Surround With quick menu,
> 		Category(org.eclipse.jdt.ui.category.source,Source,Java Source Actions,true),
> 		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 46aa5294,
> 		,,true),null),
> 	org.eclipse.ui.defaultAcceleratorConfiguration,
> 	org.eclipse.ui.contexts.window,,cocoa,system)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list