Hi there
My experience has been okay so far. A few remarks:
- **I installed adoptopenjdk11 with home-brew**, but it's not working for me, see error below.
When running it from a shell I get an error:
*./Axon.ivy\ Designer
Error: could not find libjava.dylib
Failed to GetJREPath()
Unable to create basic Accelerated OpenGL renderer.
Core Image is now using the software OpenGL renderer. This will be slow.*
I found this to be a bug:[https://bugs.openjdk.java.net/browse/JDK-8213362][1]
- **Max java heap size**
The vmargs settings placed in Axon Designer.ini are not evaluated. Please see below:
*%
% cat Eclipse/Axon.ivy\ Designer.ini
-vm /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/Contents/Home/bin/java
-startup ../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.500.v20190715-1310.jar
--launcher.library ../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1100.v20190907-0426
-nl en
-vmargs
**-Xms5g
-Xmx5g**
-Dosgi.parentClassloader=ext
-Dosgi.requiredJavaVersion=11
-da
-Dsun.java.command=AxonIvyDesigner
--add-modules=ALL-SYSTEM
--add-modules=javafx.base,javafx.controls,javafx.graphics,javafx.media,javafx.web
--add-exports=javafx.web/com.sun.webkit.dom=ALL-UNNAMED
--add-exports=javafx.web/com.sun.javafx.webkit=ALL-UNNAMED
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.instance.area.default=@% cat Eclipse/Axon.ivy\ Designer.ini
-vm /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/Contents/Home/bin/java
-startup ../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.500.v20190715-1310.jar
--launcher.library ../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1100.v20190907-0426
-nl en
-vmargs
**-Xms5g
-Xmx5g**
-Dosgi.parentClassloader=ext
-Dosgi.requiredJavaVersion=11
-da
-Dsun.java.command=AxonIvyDesigner
--add-modules=ALL-SYSTEM
--add-modules=javafx.base,javafx.controls,javafx.graphics,javafx.media,javafx.web
--add-exports=javafx.web/com.sun.webkit.dom=ALL-UNNAMED
--add-exports=javafx.web/com.sun.javafx.webkit=ALL-UNNAMED
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.instance.area.default=@user.home/ivy-workspace
--module-path=../Eclipse/plugins/lib.javafx.mac_11.0.2/lib/*
*% --module-path=../Eclipse/plugins/lib.javafx.mac_11.0.2/lib/user.home/ivy-workspace
--module-path=../Eclipse/plugins/lib.javafx.mac_11.0.2/lib/
.
% ps axu | grep java
pwe 4748 130.0 14.4 6990408 1208912 ?? R 11:53PM 0:10.04 /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/Contents/Home/bin/java **-Xms1g -Xmx1g** -XX:+UseG1GC -XX:InitiatingHeapOccupancyPercent=75 -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=/var/folders/30/sk8tvhy52sx6ddnvnn8wwk0c0000gn/T/elasticsearch-15008019142061129486 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=data -XX:ErrorFile=logs/hs_err_pid%p.log -Djava.locale.providers=COMPAT -Dio.netty.allocator.type=unpooled -XX:MaxDirectMemorySize=536870912 -Des.path.home=/Applications/Axon.ivy Designer.app/Contents/Eclipse/elasticsearch -Des.path.conf=/Applications/Axon.ivy Designer.app/Contents/Eclipse/elasticsearch/config -Des.distribution.flavor=default -Des.distribution.type=zip -Des.bundled_jdk=false -cp /Applications/Axon.ivy Designer.app/Contents/Eclipse/elasticsearch/lib/* org.elasticsearch.bootstrap.Elasticsearch -Ehttp.port=19200 -Ecluster.name=ivy-elasticsearch-6767838646641248996 -Epath.data=/var/folders/30/sk8tvhy52sx6ddnvnn8wwk0c0000gn/T/elasticsearch-data-6427af79-5993-4ba5-94ec-3f4a1f61cb24
pwe 4765 0.0 0.0 4268276 664 s001 S+ 11:53PM 0:00.00 grep java*java
![alt text][2]
it never uses more memory than shown above. Building the workspace is taking very long (5-10 minutes).
- **Also can I run more than one instance of Designer?**
On windows this can be done by renaming the .exe and .ini files. Designer 1 runs on 8081, Designer 2 on 8082...
This would also be essential. I'd love to work with it, but it's too slow for now.
Any help is greatly appreciated.
Many thanks advance and regards,
Peter
[1]: https://bugs.openjdk.java.net/browse/JDK-8213362
[2]: https://answers.axonivy.com/upfiles/Screenshot_2020-04-13_at_00.30.46.png