I tried to adjust the heap size in knime.ini on Mac but there was no memory variable like in previous versions. Is it still necessary to adjust the heap size in v4.7+ on MacOS (arm64 build)?
My knime.ini in the 4.7.0 release looks like this:
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.aarch64_1.2.500.v20220509-0833
-vm
../Eclipse/plugins/org.knime.binary.jre.macosx.aarch64_17.0.5.20221116/jre/Contents/Home/lib/libjli.dylib
-vmargs
-Djava.security.properties=../Eclipse/plugins/org.knime.binary.jre.macosx.aarch64_17.0.5.20221116/security.properties
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-Dsun.net.client.defaultReadTimeout=0
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Dknime.xml.disable_external_entities=true
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.nio.channels=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.base/sun.nio=ALL-UNNAMED
--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
--add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED
-XstartOnFirstThread
-Xdock:icon=../Resources/knime_mac.icns
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dchromium.external_message_pump=true
-Darrow.enable_unsafe_memory_access=true
-Darrow.memory.debug.allocator=false
-Darrow.enable_null_check_for_get=false
--add-opens=java.security.jgss/sun.security.jgss.krb5=ALL-UNNAMED
--add-exports=java.security.jgss/sun.security.jgss=ALL-UNNAMED
--add-exports=java.security.jgss/sun.security.jgss.spi=ALL-UNNAMED
--add-exports=java.security.jgss/sun.security.krb5.internal=ALL-UNNAMED
--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED
@AndrewDevlin I added the lines about memory. I am not 100% sure it is necessary or they ‘forgot’ to add it to the ini and it reverts to a default. @ScottF maybe you have an idea
Interesting. I just asked internally about this and was able to confirm that the -Xmx option is not present in the arm64 build. Not sure why that is, let me dig a bit more.
At any rate, thanks to both of you for bringing this to our attention!
Hi again guys - confirmed this is a bug, and a ticket (AP-19993) has been filed. We hope to address it in the next release.
Thanks again for letting us know!
I wonder if this is intentional though…I have noticed that my heap size isn’t locked to 2GB in this version…curious to know more either way.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.