This site requires JavaScript, please enable it in your browser!
Greenfoot back
erdelf
erdelf wrote ...

2012/9/14

max Ram?

erdelf erdelf

2012/9/14

#
I gave java more ram on my pc (4gb) and now greenfoot doesn't start anymore, the same for java on greenfoot.org, but other java web applets not made with greenfoot start normally. Other java programs can start without problems. How much Ram can greenfoot use without starting problems?
erdelf erdelf

2012/9/14

#
now it works local without problems, but on the site it isn't working, someone knows what happened? I didn't changed anything
darkmist255 darkmist255

2012/9/14

#
I wish I could help but if anything I would think that adding more available RAM should just make Java work with less problems. I'm sure someone will have an idea of what's going on.
davmac davmac

2012/9/14

#
erdelf, that sounds pretty strange, certainly Greenfoot shouldn't have a problem with using as much RAM as you can give it. If you really want help, please give a lot more information - How did you "give java more ram"? What exactly do you mean by "greenfoot doesn't start anymore?" - what happens when you try to start it, do you get an error message, is there anything in Greenfoot's debug log? On the site, are there any exceptions/error messages in the Java console (if you make it visible)?
erdelf erdelf

2012/9/18

#
here is how I gave Java more ram: added the environment variable: _JAVA_OPTIONS with value: -Xincgc -Xms2048m -Xmx4096m added system variable: Path with the path of java as value btw. I am using windows. well, even after deleting these variables it still doesn't work on the site
davmac davmac

2012/9/19

#
even after deleting these variables it still doesn't work on the site
In that case it must be something else on your system that has changed which is causing the problems. I have no idea what it could be.
erdelf erdelf

2012/9/19

#
well, this problems appears at the same time I added the variables
nccb nccb

2012/9/19

#
But if you deleted the variables again and it's still broken, it can't be the variables that are the problem. As Davin said, look for errors in the Java console, and also say exactly what happens when you try an applet, rather than just "it isn't working" -- that doesn't give any clues. (Incidentally, some browsers, such as Firefox, have recently disabled the Java plugin for security reasons. It's possible you could be affected by this, if no Java runs anywhere. Does this test applet load for you?)
erdelf erdelf

2012/9/19

#
yes it loads
davmac davmac

2012/9/20

#
erdelf: Java console? You didn't read Neil's message fully.
erdelf erdelf

2012/9/20

#
sry, didnt read the first part. the test applet loads. java console says nothing on greenfoot.org and the applet on greenfoot.org is not appearing.
davmac davmac

2012/9/20

#
sry, didnt read the first part
When you're asking for help you've really got to make the effort to read posts fully and provide as much information as you can in return. Could you send a screenshot showing the scenario page on greenfoot.org with the Java console window open at the same time? (Sending it to gallery@greenfoot.org would be fine, make sure you put a brief explanation in the email). Also, have you tried a different browser?
erdelf erdelf

2012/9/20

#
tried different browser. And that I didn't read it completely, but didn't realized the first part
davmac davmac

2012/9/20

#
You didn't read my latest post properly either.
erdelf erdelf

2012/9/20

#
I will send the mail. I read it.
You need to login to post a reply.