September 29, 201312 yr HI all Allocate RAM can help in something? if yes how we do that? Can someone explain plz? Thanks
September 29, 201312 yr java -Xmx256m -jar /path/to/jarfile.jar into a notepad and save it as a .bat assuming you're on windows. Xmx256m = giving it 256 mb ram. Gigabyte (GB) 1,024 Megabytes
September 29, 201312 yr I think each java app is limited to a certain amount of RAM it can use. I believe it's called heap size. If you go to your control panel and into your java settings here: You can add a command to increase the amount of RAM allowed. You can adjust it by using adding this Runtime Parameter: The number (512M in this case) being the amount of RAM maximum to allocate.
September 29, 201312 yr Doing this allocates more ram for the bot, however I've never seen the bot using more than 500mb of ram so why'd you want to do this? The JVM can perfectly allocate 500MB of ram by itself without specifying any parameters. Edited September 29, 201312 yr by Velocity