Stencyl 3.4.0 is now out. Get it now!

Stencyl memory raising batch files not working.

fillergames

  • Posts: 701
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: 1558
Just to be clear, what's not working? Is Stencyl launching with a lower memory limit, or is the script refusing to run entirely?

fillergames

  • Posts: 701
Refusing to run entirely.

I have a 8 GB PC setup, so it shouldn't be an issue.

JeffreyDriver

  • Posts: 1179
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/

fillergames

  • Posts: 701
Tried the 4, 3, and 2 GB batches. They just refused.

TheIndieStation

  • *
  • Posts: 2186
Did you place then in the same folder as your stencyl application?

letmethink

  • *
  • Posts: 2530
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

fillergames

  • Posts: 701
Tried installing the versions of Java from the Stencylpedia page.

I installed the batch files in here, too.


merrak

  • *
  • Posts: 1558
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