Well, that was a lazy question, sorry. Here goes the details. When i updated to jdk 7u-17-x64, whenever i tried to run any sketch, i got the message:
[0] "Error: This Java instance does not support a 32-bit JVM."
[1] "Please install the desired version."
Using startup command:
{command=command=java -d32 -Xrunjdwp:transport=dt_socket,address=127.0.0.1:8933,suspend=y -Xms64m -Xmx2000m -Xdock:name=_text00 -Djava.library.path=:/Applications/Processing.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java -cp /var/folders/ry/ncychs9s2pd5cncqg93fx0zm0000gn/T/_text005206904213329528309temp:/Applications/Processing.app/Contents/Resources/Java/pde.jar:/Applications/Processing.app/Contents/Resources/Java/core.jar:/Applications/Processing.app/Contents/Resources/Java/ant.jar:/Applications/Processing.app/Contents/Resources/Java/ant-launcher.jar:/Applications/Processing.app/Contents/Resources/Java/antlr.jar:/Applications/Processing.app/Contents/Resources/Java/ecj.jar:/Applications/Processing.app/Contents/Resources/Java/jna.jar:/Applications/Processing.app/Contents/Resources/Java/quaqua.jar -ea processing.core.PApplet "--editor-location=640,275" --external --display=1 --sketch-path=/Users/vk/Documents/Processing/_text00 _text00 , quote=quote=", address=address=127.0.0.1:8933}
Then I found
this thread suggesting to remove the folder
/Library/Java/JavaVirtualMachines.
That resolved the issue, and sketches are running again. But memory still limited to 2100mb. If I try any higher setting the
sketch don't run, throwing:
com.sun.jdi.connect.VMStartException: VM initialization failed for: java -d32 -Xrunjdwp:transport=dt_socket,address=127.0.0.1:8260,suspend=y -Xms64m -Xmx2200m -Xdock:name=_text00 -Djava.library.path=:/Applications/Processing.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java -cp /var/folders/ry/ncychs9s2pd5cncqg93fx0zm0000gn/T/_text00282090576309912186temp:/Applications/Processing.app/Contents/Resources/Java/pde.jar:/Applications/Processing.app/Contents/Resources/Java/core.jar:/Applications/Processing.app/Contents/Resources/Java/ant.jar:/Applications/Processing.app/Contents/Resources/Java/ant-launcher.jar:/Applications/Processing.app/Contents/Resources/Java/antlr.jar:/Applications/Processing.app/Contents/Resources/Java/ecj.jar:/Applications/Processing.app/Contents/Resources/Java/jna.jar:/Applications/Processing.app/Contents/Resources/Java/quaqua.jar -ea processing.core.PApplet --location=605,153 --external --display=1 --sketch-path=/Users/vk/Documents/Processing/_text00 _text00
at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:174)
at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:114)
at com.sun.tools.jdi.RawCommandLineLauncher.launch(RawCommandLineLauncher.java:100)
at processing.mode.java.runner.Runner.launchVirtualMachine(Runner.java:315)
at processing.mode.java.runner.Runner.launch(Runner.java:118)
at processing.mode.java.JavaMode$1.run(JavaMode.java:181)
at java.lang.Thread.run(Thread.java:680)
Could not run the sketch (Target VM failed to initialize).
Make sure that you haven't set the maximum available memory too high.
For more information, read revisions.txt and Help ? Troubleshooting.
So this is the scenario. And my question is can I run in 64 bits, to have more memory allocated to the sketch? How?
I have seen
this in wiki, but it is kind of laconic... i didn't understand...