joelburke Trusted Contributor.
Trusted Contributor.
907 views

Designer 4.7.2 on MacOS(Mojave) spins and spins

I am having a ton of trouble with Designer 4.7.2 on MacOS(Mojave). Basically, almost anything I do will cause Designer to spin until I have to force quit. I select a rule in a policy, Designer spins until I have to force quit. If I select a driver and try to view a policy, it spins and I have to force quit. I can click around for maybe five-ten minutes before I see this behavior. When I look at activity monitor, Designer shows with spiked cpu and as "Not Responding".

I have one project in my workspace. I don't sync to svn. I have used all the settings in Geoffrey's Designer setup article. Nothing jumps out at me in the logs.

Any ideas? I literally force quit designer at least 30 times yesterday.
Labels (1)
0 Likes
17 Replies
Knowledge Partner
Knowledge Partner

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

On 4/2/2019 4:54 PM, joelburke wrote:
>
> I am having a ton of trouble with Designer 4.7.2 on MacOS(Mojave).
> Basically, almost anything I do will cause Designer to spin until I have
> to force quit. I select a rule in a policy, Designer spins until I have
> to force quit. If I select a driver and try to view a policy, it spins
> and I have to force quit. I can click around for maybe five-ten minutes
> before I see this behavior. When I look at activity monitor, Designer
> shows with spiked cpu and as "Not Responding".
>
> I have one project in my workspace. I don't sync to svn. I have used all
> the settings in Geoffrey's Designer setup article. Nothing jumps out at
> me in the logs.
>
> Any ideas? I literally force quit designer at least 30 times yesterday.


Swap the JVM back to Oracle's JVM? rename the jre directory and copy in
the one from previous version of Designer and check.

The switch to Azul JRE has some odd side affects.



0 Likes
cpedersen Outstanding Contributor.
Outstanding Contributor.

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

On 03.04.19 00:04, Geoffrey Carman wrote:
> On 4/2/2019 4:54 PM, joelburke wrote:
>>
>> I am having a ton of trouble with Designer 4.7.2 on MacOS(Mojave).
>> Basically, almost anything I do will cause Designer to spin until I have
>> to force quit. I select a rule in a policy, Designer spins until I have
>> to force quit. If I select a driver and try to view a policy, it spins
>> and I have to force quit. I can click around for maybe five-ten minutes
>> before I see this behavior. When I look at activity monitor, Designer
>> shows with spiked cpu and as "Not Responding".
>>
>> I have one project in my workspace. I don't sync to svn. I have used all
>> the settings in Geoffrey's Designer setup article. Nothing jumps out at
>> me in the logs.
>>
>> Any ideas? I literally force quit designer at least 30 times yesterday.

>
> Swap the JVM back to Oracle's JVM?  rename the jre directory and copy in
> the one from previous version of Designer and check.
>
> The switch to Azul JRE has some odd side affects.
>
>
>


I see the same, only option is to kill it, and start it again. I like
Geoffrey also thought it was OpenJDK which caused it, and switched back,
but I still see the problem (now and then).

The best is to make a note of when and how it happened, and post it here
where the developers will see it, or open a bug / service request.


Casper

0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

On 4/3/2019 3:16 AM, Casper Pedersen wrote:
> On 03.04.19 00:04, Geoffrey Carman wrote:
>> On 4/2/2019 4:54 PM, joelburke wrote:
>>>
>>> I am having a ton of trouble with Designer 4.7.2 on MacOS(Mojave).
>>> Basically, almost anything I do will cause Designer to spin until I have
>>> to force quit. I select a rule in a policy, Designer spins until I have
>>> to force quit. If I select a driver and try to view a policy, it spins
>>> and I have to force quit. I can click around for maybe five-ten minutes
>>> before I see this behavior. When I look at activity monitor, Designer
>>> shows with spiked cpu and as "Not Responding".
>>>
>>> I have one project in my workspace. I don't sync to svn. I have used all
>>> the settings in Geoffrey's Designer setup article. Nothing jumps out at
>>> me in the logs.
>>>
>>> Any ideas? I literally force quit designer at least 30 times yesterday.

>>
>> Swap the JVM back to Oracle's JVM?  rename the jre directory and copy
>> in the one from previous version of Designer and check.
>>
>> The switch to Azul JRE has some odd side affects.
>>
>>
>>

>
> I see the same, only option is to kill it, and start it again. I like
> Geoffrey also thought it was OpenJDK which caused it, and switched back,
> but I still see the problem (now and then).
>
> The best is to make a note of when and how it happened, and post it here
> where the developers will see it, or open a bug / service request.


Good to know. Alas, with a JRE switch it seems like a good trouble
shooting step.

My issue seems to be pre-compilation in Azul, and I THINK it is trying
all the Packages, of which I have many, and it takes 15-20 min to start
up with Azul and 1 min with Oracle JRE in 4.7.2.


0 Likes
tschloesser
New Member.

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

Hi everybody,

reading this thread I am a little confused right now.
I do not have such problems with Designer 4.7.2 running in the default setup under Mac OS 10.14.4! I am running it with the Azul JVM provided and it is starting even faster than the previous version.

I had some trouble to authenticate to the ID Vault if a certificate of an intermediate CA is used, but I do not experience any performance issues.

Right at the moment I am running two Designer instances at the same time and even this is running smooth 😉

BTW: If anybody has an Idea how to start Designer more than one time without installing it twice on a Mac it would be great to know how to get this working!

I know this information does not help you, but it showes maybe that you are facing either a issue, not Designer related - or you are using another installer?!

Kind regards,

Thorsten
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

tschloesser wrote:

> I know this information does not help you, but it showes maybe that you
> are facing either a issue, not Designer related - or you are using
> another installer?!


Or you are working differently in Designer and do not trigger the issue. I've
only seen it so far when sync'ing filter resource changes to a package in
package dev mode. Not always, but sometimes...

--
http://www.is4it.de/en/solution/identity-access-management/

(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
joelburke Trusted Contributor.
Trusted Contributor.

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

tschloesser;2497791 wrote:
Hi everybody,

reading this thread I am a little confused right now.
I do not have such problems with Designer 4.7.2 running in the default setup under Mac OS 10.14.4! I am running it with the Azul JVM provided and it is starting even faster than the previous version.

I had some trouble to authenticate to the ID Vault if a certificate of an intermediate CA is used, but I do not experience any performance issues.

Right at the moment I am running two Designer instances at the same time and even this is running smooth 😉

BTW: If anybody has an Idea how to start Designer more than one time without installing it twice on a Mac it would be great to know how to get this working!

I know this information does not help you, but it showes maybe that you are facing either a issue, not Designer related - or you are using another installer?!

Kind regards,

Thorsten


I used the default installer. I have other people in my organization using Designer on PCs and they are not seeing this problem. They see the occasional hang which has always been in Designer, but nowhere near the level I am experiencing. I moved in another JRE as Geoffrey suggested and will begin testing it this morning.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

> I used the default installer. I have other people in my organization
> using Designer on PCs and they are not seeing this problem. They see the
> occasional hang which has always been in Designer, but nowhere near the
> level I am experiencing. I moved in another JRE as Geoffrey suggested
> and will begin testing it this morning.


Lothar suggested this, and if you rename designer\jre to jre.old and
copy ini the one from 4.7.1 then it is really fast to switch them around.

Though that is on Winders and Linux, if Designer is an .app in MacOS I
am not entirely sure if that is so simple there? Does it register teh
locations for the bundle or is it really just a way to package files.

0 Likes
joelburke Trusted Contributor.
Trusted Contributor.

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

geoffc;2497807 wrote:
> I used the default installer. I have other people in my organization
> using Designer on PCs and they are not seeing this problem. They see the
> occasional hang which has always been in Designer, but nowhere near the
> level I am experiencing. I moved in another JRE as Geoffrey suggested
> and will begin testing it this morning.


Lothar suggested this, and if you rename designer\jre to jre.old and
copy ini the one from 4.7.1 then it is really fast to switch them around.

Though that is on Winders and Linux, if Designer is an .app in MacOS I
am not entirely sure if that is so simple there? Does it register teh
locations for the bundle or is it really just a way to package files.


So, I renamed the jre in the designer folder to jre-azul and copied over another jre I had on my machine (Java(TM) SE Runtime Environment (build 1.8.0_202-b08)). Designer has not spun out of control within the last hour of use but has started giving me the following error:
'Workbench Auto-Save Job' has encountered a problem. An internal error has occurred. GC overhead limit exceeded.

I tried running garbage collection, but it won't run. After seeing that error a couple of time, I can't do anything anymore and just have to quit. I didn't have to force quit, so I guess that's a minor victory.

My next step is to download Designer 4.7.1 and use that jre.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

On 4/5/2019 2:04 PM, joelburke wrote:
>
> geoffc;2497807 Wrote:
>>> I used the default installer. I have other people in my organization
>>> using Designer on PCs and they are not seeing this problem. They see

>> the
>>> occasional hang which has always been in Designer, but nowhere near

>> the
>>> level I am experiencing. I moved in another JRE as Geoffrey suggested
>>> and will begin testing it this morning.

>>
>> Lothar suggested this, and if you rename designer\jre to jre.old and
>> copy ini the one from 4.7.1 then it is really fast to switch them
>> around.
>>
>> Though that is on Winders and Linux, if Designer is an .app in MacOS I
>> am not entirely sure if that is so simple there? Does it register teh
>> locations for the bundle or is it really just a way to package files.

>
> So, I renamed the jre in the designer folder to jre-azul and copied over
> another jre I had on my machine (Java(TM) SE Runtime Environment (build
> 1.8.0_202-b08)). Designer has not spun out of control within the last
> hour of use but has started giving me the following error:
> 'Workbench Auto-Save Job' has encountered a problem. An internal error
> has occurred. GC overhead limit exceeded.
>
> I tried running garbage collection, but it won't run. After seeing that
> error a couple of time, I can't do anything anymore and just have to
> quit. I didn't have to force quit, so I guess that's a minor victory.
>
> My next step is to download Designer 4.7.1 and use that jre.


There should be a designer.ini file, and my 4.72 says:

-vm
u:\temp\D472\Designer\jre\bin\javaw.exe
-clean
-vmargs
-Xms1024m
-Xmx2048m
-Dfile.encoding=UTF-8
-Djava.util.Arrays.useLegacyMergeSort=true

On older Designers I had:

-vmargs
-Xms512m
-Xmx1200m
-XX:MaxPermSize=128m
-Dfile.encoding=UTF-8
-XX:+UseParallelOldGC
-XX:ParallelGCThreads=4
-XX:+UseParallelGC
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

(last three were to try and profile with JMonitor, ignore those.

MaxPermSize no longer applies in 1.8 JVMs.
I forget if the GC settinsg still apply or not in 1.8 now.

Maybe someone can suggest better GC settinsg for a 1.8 JVM?

0 Likes
joelburke Trusted Contributor.
Trusted Contributor.

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

My designer.ini is located at : /Applications/Designer/plugins/com.novell.designer_4.0.0.201812171538/defs/designer/designer.ini

It has the following content:
#Configuration File
osgi.nl=en
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

On 4/8/2019 9:54 AM, joelburke wrote:
>
> My designer.ini is located at :
> /Applications/Designer/plugins/com.novell.designer_4.0.0.201812171538/defs/designer/designer.ini
>
> It has the following content:
> #Configuration File
> osgi.nl=en


Well it is possible the Mac version is different than the Windows or
Linux version.

Someone with Linux Designer, care to post a Designer.ini file?

Though I looked at your path again, and that seems unlikely. The INI I
was talking about is used to launch Designer the one you found is partof
a plugin.

So look at the /Applications/Designer level and see what files are
there? Possibly the .APP object in MacOS stores these values?

0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

Geoffrey Carman wrote:

> Well it is possible the Mac version is different than the Windows or Linux
> version.
>
> Someone with Linux Designer, care to post a Designer.ini file?
>
> Though I looked at your path again, and that seems unlikely. The INI I was
> talking about is used to launch Designer the one you found is partof a plugin.
>
> So look at the /Applications/Designer level and see what files are there?
> Possibly the .APP object in MacOS stores these values?


Here's mine from 4.7.2:

$ cat /Applications/Designer/Designer.app/Contents/MacOS/Designer.ini
-clean
-vm
.../../../jre/lib/server/libjvm.dylib
-vmargs
-Xms256m
-Xmx1024m
-Dfile.encoding=UTF-8
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

--
http://www.is4it.de/en/solution/identity-access-management/

(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
joelburke Trusted Contributor.
Trusted Contributor.

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

lhaeger;2497983 wrote:
Geoffrey Carman wrote:

> Well it is possible the Mac version is different than the Windows or Linux
> version.
>
> Someone with Linux Designer, care to post a Designer.ini file?
>
> Though I looked at your path again, and that seems unlikely. The INI I was
> talking about is used to launch Designer the one you found is partof a plugin.
>
> So look at the /Applications/Designer level and see what files are there?
> Possibly the .APP object in MacOS stores these values?


Here's mine from 4.7.2:

$ cat /Applications/Designer/Designer.app/Contents/MacOS/Designer.ini
-clean
-vm
.../../../jre/lib/server/libjvm.dylib
-vmargs
-Xms256m
-Xmx1024m
-Dfile.encoding=UTF-8
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

--
http://www.is4it.de/en/solution/identity-access-management/

(If you find this post helpful, please click on the star below.)


Thanks for showing the location. The locate command didn't look in the .app bundle, which makes sense.

I have the same configuration.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer 4.7.2 on MacOS(Mojave) spins and spins

On 4/8/2019 1:22 PM, Lothar Haeger wrote:
> Geoffrey Carman wrote:
>
>> Well it is possible the Mac version is different than the Windows or Linux
>> version.
>>
>> Someone with Linux Designer, care to post a Designer.ini file?
>>
>> Though I looked at your path again, and that seems unlikely. The INI I was
>> talking about is used to launch Designer the one you found is partof a plugin.
>>
>> So look at the /Applications/Designer level and see what files are there?
>> Possibly the .APP object in MacOS stores these values?

>
> Here's mine from 4.7.2:
>
> $ cat /Applications/Designer/Designer.app/Contents/MacOS/Designer.ini
> -clean
> -vm
> ../../../jre/lib/server/libjvm.dylib
> -vmargs
> -Xms256m
> -Xmx1024m
> -Dfile.encoding=UTF-8
> -XstartOnFirstThread
> -Dorg.eclipse.swt.internal.carbon.smallFonts


There you go, actually getting the correct location makes sense.

That is pretty low memory settings though. I would almsot certainly make
the max closer to 2GB. I run up to 1.5GB all the time in Designer.

0 Likes
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.