.cmd and W7 x64

.cmd and W7 x64

Postby Alcymart » Mon Feb 01, 2010 4:16 am

I wasn't sure whether to post this as an issue or bug, but I started this thread instead.

I certainly know how to get EL started using more ram and it works flawless on XP. However in W7 x64 the cmd's don't cooperate. I Want EL to use 1024M when starting quite simply. Here is the commandline I use right now which just won't get it started with 1024M:

start javaw -Xmx1024M -cp .;lib/jh.jar;lib/expertlotto.jar;lib com.expertlotto.Lotto

Please advise if you see anything wrong with the above commandline...

In fact, even the included 256M or 512M doesn't get EL started with those amounts of Ram. Let me add that only default executable ExpertLotto.exe gets it started at 256M. Great to see, however I want EL to use 1024M at the very minimum. FYI, I have 8Gis of ram. I'm using W7 x64 OS.
Alcymart
 
Posts: 474
Joined: Sun Aug 20, 2006 8:11 am

Postby stan » Tue Feb 02, 2010 10:59 am

the command line is fine as long as you have this line in your .cmd file:

[m]cd <your expert lotto install folder>[/m]
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm

Postby Alcymart » Tue Feb 02, 2010 10:56 pm

Here is the whole thing and I still can't get 1024M allocated to EL.

@rem echo off
cd C:Program Files (x86)ExpertLotto
start javaw -Xmx1024M -cp .;lib/jh.jar;lib/expertlotto.jar;lib com.expertlotto.Lotto

It looks like .cmd files don't work in W7 x64 since only the executable really allocates 256M. Do you have a test system with W7 x64 to test a cmd file on your end?
Alcymart
 
Posts: 474
Joined: Sun Aug 20, 2006 8:11 am

Postby stan » Tue Feb 02, 2010 11:06 pm

[quote=Alcymart]
Here is the whole thing and I still can't get 1024M allocated to EL.

@rem echo off
cd C:Program Files (x86)ExpertLotto
start javaw -Xmx1024M -cp .;lib/jh.jar;lib/expertlotto.jar;lib com.expertlotto.Lotto

[/quote]
don't install expert lotto to 'program files' folder, install it to e.g. c:expertlotto instead

It looks like .cmd files don't work in W7 x64 since only the executable really allocates 256M. Do you have a test system with W7 x64 to test a cmd file on your end?

yes, i have and it works fine.
you can also use the expertlotto.exe file to start expert lotto, it attempts to allocate up to 1gb of free ram to expert lotto
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm

Postby Alcymart » Wed Feb 03, 2010 7:23 am

It makes absolutely no difference. Of course I had installed it in the default C:Expertlotto location the first time.

We're not heading forward on this issue Stan.

Again I'm on W7 64 bit edition, and I'm no newbie to an OS.
Alcymart
 
Posts: 474
Joined: Sun Aug 20, 2006 8:11 am

Postby stan » Wed Feb 03, 2010 10:29 am

alright, and how do you check how much memory expert lotto actually has?
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm

Postby Alcymart » Thu Feb 04, 2010 12:30 am

[quote=stan]
alright, and how do you check how much memory expert lotto actually has?
[/quote]

Bottom right corner after setting it to be shown in Preferences thus I rely on EL to show me the correct RAM allocation else I would consider this a Bug.

I tried all kinds and did some research but haven't found much of anything. It does allocate perfectly in XP and Vista. It's driving me crazy. I'll try a few other things...
Alcymart
 
Posts: 474
Joined: Sun Aug 20, 2006 8:11 am

Postby stan » Thu Feb 04, 2010 11:15 am

[quote=Alcymart]
Bottom right corner after setting it to be shown in Preferences thus I rely on EL to show me the correct RAM allocation else I would consider this a Bug.
[/quote]

that meter shows how much total memory has expert lotto allocated at the moment. you need to use a memory-hungry feature to see the amount of total memory increase.
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm

Postby Alcymart » Thu Feb 04, 2010 12:48 pm

[quote=stan]
that meter shows how much total memory has expert lotto allocated at the moment. you need to use a memory-hungry feature to see the amount of total memory increase.
[/quote]

I see now after testing it. Thanks Stan :-)
Alcymart
 
Posts: 474
Joined: Sun Aug 20, 2006 8:11 am


Return to Comments, suggestions, features requests

Who is online

Users browsing this forum: No registered users and 4 guests