64 bit Windows with 64 bit java test

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.

64 bit Windows with 64 bit java test

Postby ddb174 » Tue Jul 21, 2009 9:49 pm

Does someone have this setup, so that they could test something for me? I want to see if I can switch back the memory usage, as it seems to have created another bug. You would need to have 64bit Windows with 64bit Java installed to test it.
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: 64 bit Windows with 64 bit java test

Postby Chacal » Tue Jul 21, 2009 10:52 pm

How do I know which Java I have installed?
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2508
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: 64 bit Windows with 64 bit java test

Postby ddb174 » Tue Jul 21, 2009 11:42 pm

It looks like there is just one installer for Windows, and it will automatically install 64bit Java if you have a 64bit Windows. I think when you check Windows Task Manager, it will show a "32" next to processes that are running in 32bit mode. So, Drizzle would have a 32 next to it if you have 64bit Windows and 32bit Java. (There should really be a simpler way to check, but that's all I found :P)

Optional technical description: Some people had a problem starting with Drizzle19 where Drizzle won't even start for them, and I didn't change much in Drizzle19, but one change was the switch from a max 800MB heap size to a max 1020MB heap size. I did this because 64bit java uses a little more memory. But I've reduced memory usage in some ways now, so I may be able to go back to 800MB which may fix the problem some people have had since Drizzle19.
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: 64 bit Windows with 64 bit java test

Postby tachzusamm » Wed Jul 22, 2009 1:44 am

Chacal wrote:How do I know which Java I have installed?

Eventually this
http://forums.sun.com/thread.jspa?threadID=5149226
or that
http://forums13.itrc.hp.com/service/for ... Id=1275320
helps.
User avatar
tachzusamm
 
Posts: 575
Joined: Thu May 29, 2008 2:03 am
Location: Germany

Re: 64 bit Windows with 64 bit java test

Postby ddb174 » Fri Jul 24, 2009 2:49 pm

Okay, I'll go ahead and make the change, and if Drizzle21 doesn't work for some 64bit users, I can fix it for Drizzle22. That's probably the easiest thing to do.
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: 64 bit Windows with 64 bit java test

Postby DRayX » Thu Jul 30, 2009 8:54 am

I have succsesfully used the simplicity tab to convert all the data from MOUL, MystV, and Crowthistle, as well as downloading all the ages and miscellaneous files from UAM using Java for Windows x64 (on Windows 7 RC) with the latest SVN rev of Drizzle (I think it was r2348 or something). Didn't run into any obvious issues, but I may have missed something.

OS: Windows 7 Build 7100
JDK: 6u14 Windows x64
Ant: 1.7.1
Drizzle: r2348

Note: When you download the JRE or JDK (from the real download location) you have to pick your operating system and architecture (for windows you can choose between "Windows", "Windows Intel Itanium" (seriously, does anybody use Itanium?), and "Windows x64") (oh god, too many parens, its lisp all over again). If you download java from java.com you always get the x86 version, and if you are using 64 bit Windows it emulates x86. That is why you should always get java from http://java.sun.com/javase/downloads/index.jsp
DRayX
 
Posts: 12
Joined: Mon Jan 19, 2009 11:20 am

Re: 64 bit Windows with 64 bit java test

Postby ddb174 » Thu Jul 30, 2009 4:41 pm

It might have to wait for the next version, because I said I would release it this week (i.e. by Friday), but with some luck we might get the test done in time! DRayX, can you email me at ddbernardSYMBOLsasktelSYMBOLnet , and I will send you two test versions you can try? One has 800MB, and if it works, then all is well, otherwise the other is 900MB, and you can try it if the 800MB one doesn't work. (SVN isn't changed yet and has 1020MB, I think.)
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: 64 bit Windows with 64 bit java test

Postby DRayX » Thu Jul 30, 2009 10:26 pm

Ok, so I took 30 seconds to look at the code since you hadn't replied to my e-mail yet, and I changed -Xmx1020m to -Xmx800m line in main.java in the drizzle package (I think that is the right part). Everything (the simplicity tab and UAM stuff) worked fine for me, so as long as that is the correct part of the code, everything looks good to go.
DRayX
 
Posts: 12
Joined: Mon Jan 19, 2009 11:20 am

Re: 64 bit Windows with 64 bit java test

Postby Chacal » Fri Jul 31, 2009 8:28 am

Dustin, I have changed my Java version to x64 (thanks DrayX!) and you can send me the files if you still need testers.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2508
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: 64 bit Windows with 64 bit java test

Postby ddb174 » Fri Jul 31, 2009 8:49 am

Okay, I PMed you the link so that you can test it too. DRayX has tried it and it works, so it will probably work for you too. (If it doesn't it will have a stackdump in the log box.) Thanks for all your help guys! I'll release Drizzle21 today!
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Next

Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron