TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Stencyl memory raising batch files not working.
Pages:
1
Stencyl memory raising batch files not working.
DELETED_117713
Posts: 771
August 09, 2017, 05:51:19 am
I've been trying to run the 6GB Stencyl batch launch, but it hasn't been working for me at all.
I installed it in "C:\Program Files (x86)\Stencyl" And launched the batch file as admin, and it didn't do anything.
merrak
Posts: 2726
August 09, 2017, 06:51:23 am
Just to be clear, what's not working? Is Stencyl launching with a lower memory limit, or is the script refusing to run entirely?
`/\=======/\"-
Website! -
http://www.anorthogonaluniverse.com
Facebook -
http://www.facebook.com/rlwatson
Twitter -
https://twitter.com/merrak
DELETED_117713
Posts: 771
August 09, 2017, 06:56:33 am
Refusing to run entirely.
I have a 8 GB PC setup, so it shouldn't be an issue.
JeffreyDriver
Posts: 2262
August 09, 2017, 07:15:34 am
Does one of the lower options work?
I'm guessing that you have seen the 2 notes on this page?
http://www.stencyl.com/help/view/ninety-percent-warning/
Current Projects:
The Grand Grimoire Chronicles Episode 3
Twitter@JeffreyDriver
apps.jeffreydriver.co.uk
DELETED_117713
Posts: 771
August 09, 2017, 07:32:22 am
Tried the 4, 3, and 2 GB batches. They just refused.
stefan
Posts: 2263
August 09, 2017, 07:57:32 am
Did you place then in the same folder as your stencyl application?
letmethink
Posts: 2545
August 09, 2017, 12:58:56 pm
Are you sure stencyl is using the 64bit version of java? Maybe you still have the 32bit version and it's defaulting to using that?
~Letmethink
DELETED_117713
Posts: 771
August 10, 2017, 09:11:16 am
Tried installing the versions of Java from the Stencylpedia page.
I installed the batch files in here, too.
merrak
Posts: 2726
August 10, 2017, 10:14:34 am
I think there's a max setting for the xmx parameter (memory usage setting). I do remember on my old computer I could not set it past 8 GB even though I had 12 GB RAM installed. I don't know what determined that cap, and I wasn't able to find much documentation on the issue. Eventually I got a new computer with more RAM and was able to set it higher (set to 24GB out of 128GB and working fine). Maybe it's an OS issue? I went from Ubuntu 13.04 to 16.04. I don't know what to expect with Windows 7 vs 8 vs 10.
You could try decreasing the xmx parameter a bit at a time until you get a value that works.
See:
https://stackoverflow.com/questions/461260/is-there-a-maximum-number-you-can-set-xmx-to-when-trying-to-increase-jvm-memory
`/\=======/\"-
Website! -
http://www.anorthogonaluniverse.com
Facebook -
http://www.facebook.com/rlwatson
Twitter -
https://twitter.com/merrak
Pages:
1