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
→
Bug Archives
→
How to Suppress the 90% Memory Usage Warnings
Pages:
1
2
3
4
How to Suppress the 90% Memory Usage Warnings
Islington
Posts: 6
November 26, 2012, 09:07:49 am
it worked, thanks. attached is the error that i'am receiving when trying to put 2048m or higher.
Joe
Posts: 2478
November 26, 2012, 10:02:53 am
Apparently your system isn't able to allocate more memory to Java. If that's the case, you'll need to install additional RAM on your machine.
Islington
Posts: 6
November 26, 2012, 10:12:39 am
Thank you, Joe! I really appreciate your help! I'll install additional ram in next few days and advise if it helped
Silux
Posts: 438
January 10, 2013, 02:23:30 pm
In Linux it's enough to edit the Stencyl application file and write -Xmx{number of megabytes free in your ram that you want to be avaible for Stencyl}m instead of -Xmx1024m.
I have yet to test it on windows but you should be able to do the same with cmd.
Currently working at:
Starwarrior 2097(my main project)
How to make successful games in Kongregate and the world(article)
Joe
Posts: 2478
January 10, 2013, 08:19:43 pm
This user's problem is that the machine doesn't have enough RAM installed.
Cobra Blade
Posts: 73
January 12, 2013, 04:33:21 am
I'm using a 2011 model iMac with 4GB of RAM, but I've had something really weird happen. Up until last night Stencyl was running just fine. But this morning it refused to run. So I checked the console and it looks like I'm now getting a "Could not reserve enough space for object heap" error. So I had to lower -Xmx1536m to -Xmx1024m.
I have no idea what has changed since last night...
Cobra Blade
Posts: 73
January 13, 2013, 05:09:49 pm
If anyone else ends up in the same predicament I was in, you can just reinstall Java.
Snow Leopard users like myself can find a download
here
.
camaleonyco
Posts: 204
March 21, 2013, 10:49:51 pm
Hi, I'm working on a big project, and I'm running out of memory lately. Apparently I can't allocate more memory, 1536 is the limit for me. What bothers me is that I have 6GB of RAM, and running on Windows 7 I usually never use more than 2GB... Is there any rule that prevents you to allocate more than a quarter of your memory? Am I missing something?
Joe
Posts: 2478
March 22, 2013, 06:42:30 am
You need a 64-bit version of Java to allocate more than 2 GB of memory.
Jon
Posts: 17524
March 22, 2013, 11:41:52 am
I think this should do the trick.
1) Visit
http://www.oracle.com/technetwork/java/javase/downloads/jre6downloads-1902815.html
2) Download the Windows 64-bit version (offline is more reliable)
3) Run it. (I think it's an actual installer. If it is, "the folder" means the folder it installs to under program files.)
4) Copy the folder over to [STENCYL_INSTALL]/runtimes/jre-win/ and replace that.
nuyluy
Posts: 3
December 10, 2018, 03:26:39 pm
I'm devasted, this all doesn't work for Stencyl 3.4 on Win 8. I don't know what to do, please help!
Pages:
1
2
3
4