We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentCore,  Processing Development Environment (PDE) › Vista x64, Java 6U12 x64, Processing expert...
Page Index Toggle Pages: 1
Vista x64, Java 6U12 x64, Processing expert... (Read 4918 times)
Vista x64, Java 6U12 x64, Processing expert...
Feb 17th, 2009, 11:10pm
 
Hi all,
I have a program that would love to use more than 1.5GB of RAM that I am currently allowed to use in the large Processing package that includes Java. I assume it includes the 32-bit version of Java and therefore causes this limit...

So, I downloaded Processing expert version, and Java 6 SDK Update 12 x64 and installed. When I click on the Processing executable, the title screen shows briefly and then exits. Here is my debug logfile from Processing...

CmdLine:
C:\processing-1.0.1-expert\processing.exe --l4j-debug
WOW64:

yes
Working dir:
C:\processing-1.0.1-expert\.
Bundled JRE:
java
Check launcher:
C:\processing-1.0.1-expert\java\bin\javaw.exe (n/a)
64-bit search:
SOFTWARE\JavaSoft\Java Development Kit...
Match:

SOFTWARE\JavaSoft\Java Development Kit\1.6
Match:

SOFTWARE\JavaSoft\Java Development Kit\1.6.0_12
Using 64-bit runtime.
Check launcher:
C:\Program Files\Java\jdk1.6.0_12\bin\javaw.exe (OK)
Add classpath:
lib\pde.jar
Add classpath:
lib\core.jar
Add classpath:
lib\jna.jar
Add classpath:
lib\ecj.jar
Add classpath:
lib\antlr.jar
Launcher:
C:\Program Files\Java\jdk1.6.0_12\bin\javaw.exe
Launcher args:
-Xms128m -Xmx128m -classpath "lib;C:\Program Files\Java\jdk1.6.0_12\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ec
j.jar;lib\antlr.jar" processing.app.Base
Args length:
165/32768 chars
Exit code:
1

Any ideas? I appreciate it!
Re: Vista x64, Java 6U12 x64, Processing expert...
Reply #1 - Mar 15th, 2009, 7:01pm
 
Starting Processing with the following call worked for me:

"C:\Program Files (x86)\Java\jdk1.6.0_11\bin\java.exe" -Xms128m -Xmx128m -classpath "lib;C:\Program Files\Java\jdk1.6.0_11\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ec
j.jar;lib\antlr.jar" processing.app.Base

Looks like Processing 1.0.3 does not get along with Java 64bit.

Regards,
Jens
Re: Vista x64, Java 6U12 x64, Processing expert...
Reply #2 - Mar 15th, 2009, 7:37pm
 
> -Xms128m -Xmx128m

have you tried changing these? i don't know where they are set but they are the standard jvm memory settings flags.

https://www.gopay.com.cn/resin-doc/performance/jvm-tuning.xtp
Re: Vista x64, Java 6U12 x64, Processing expert...
Reply #3 - Nov 23rd, 2009, 6:40am
 
My Env:
 Vista x64
 JDK6_10 x64
 Processing 1.0.9 (without java)

I susbtituted the jna.jar under <Processing dir>\lib with the JAR from

jna.dev.java.net/servlets/ProjectDocumentList?folderID=11911&expandFolder=11911&
folderID=7408

After that Processing seems work fine with x64 bit Java  Smiley
Re: Vista x64, Java 6U12 x64, Processing expert...
Reply #4 - Nov 23rd, 2009, 6:41am
 
InJu wrote on Nov 23rd, 2009, 6:40am:
My Env:
 Vista x64
 JDK6_10 x64
 Processing 1.0.9 (without java)

I susbtituted the jna.jar under <Processing dir>\lib with the JAR from

jna.dev.java.net/servlets/ProjectDocumentList?folderID=11911&expandFolder=11911&
folderID=7408

After that Processing seems work fine with x64 bit Java  Smiley


As I can not post links, you have to put https manually in front of link
Re: Vista x64, Java 6U12 x64, Processing expert...
Reply #5 - Dec 11th, 2009, 2:32pm
 
Very good! this also works for Windows 7 Prof x64
thanks a lot!
OlimilO
Page Index Toggle Pages: 1