Stencyl memory raising batch files not working.

DELETED_117713

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

DELETED_117713

  • Posts: 771
Refusing to run entirely.

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

JeffreyDriver

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

DELETED_117713

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

stefan

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

letmethink

  • *
  • Posts: 2545
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
Tried installing the versions of Java from the Stencylpedia page.

I installed the batch files in here, too.


merrak

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