tutorialIslandNo Posted November 12, 2017 Share Posted November 12, 2017 (edited) Hi I have a vps with DigitalOcean and it has 1gb of ram and when a script attempts to walk to the bank it force quits OSBot and I am left it a notepad file on the desktop OS: Ubuntu **EDIT** I have abandoned the VPS gonna get a more powerful one Spoiler # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 187441152 bytes for committing reserved memory. # Possible reasons: # The system is out of physical RAM or swap space # In 32 bit mode, the process size limit was hit # Possible solutions: # Reduce memory load on the system # Increase physical memory or swap space # Check if swap backing store is full # Use 64 bit Java on a 64 bit OS # Decrease Java heap size (-Xmx/-Xms) # Decrease number of Java threads # Decrease Java thread stack sizes (-Xss) # Set larger code cache with -XX:ReservedCodeCacheSize= # This output file may be truncated or incomplete. # # Out of Memory Error (os_linux.cpp:2640), pid=9461, tid=0x73d8ab40 # # JRE version: Java(TM) SE Runtime Environment (8.0_151-b12) (build 1.8.0_151-b12) # Java VM: Java HotSpot(TM) Client VM (25.151-b12 mixed mode linux-x86 ) # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # Edited November 13, 2017 by tutorialIslandNo Abandoned VPS Quote Link to comment Share on other sites More sharing options...
tutorialIslandNo Posted November 12, 2017 Author Share Posted November 12, 2017 I think I have java installed I just can't execute the program when i type java -jar osbot.jar I get the error unable to access jarfile osbot.jar Quote Link to comment Share on other sites More sharing options...
HastyLife Posted November 12, 2017 Share Posted November 12, 2017 run javfix Quote Link to comment Share on other sites More sharing options...
tutorialIslandNo Posted November 12, 2017 Author Share Posted November 12, 2017 1 minute ago, HastyLife said: run javfix How do I do that? Quote Link to comment Share on other sites More sharing options...
tutorialIslandNo Posted November 12, 2017 Author Share Posted November 12, 2017 17 minutes ago, HastyLife said: run javfix I have fixed my problems I needed to type java -jar /home/USER/Desktop/OSBot.jar Quote Link to comment Share on other sites More sharing options...
tutorialIslandNo Posted November 12, 2017 Author Share Posted November 12, 2017 37 minutes ago, tutorialIslandNo said: I have fixed my problems I needed to type java -jar /home/USER/Desktop/OSBot.jar Having problems with the bot closing when a script starts. osbot works fine when not running a script, i can run around osrs but when i start a script it closes down after about 30seconds Quote Link to comment Share on other sites More sharing options...
tutorialIslandNo Posted November 12, 2017 Author Share Posted November 12, 2017 anyone able to help? updated OP with current issues Quote Link to comment Share on other sites More sharing options...
tutorialIslandNo Posted November 13, 2017 Author Share Posted November 13, 2017 bump Quote Link to comment Share on other sites More sharing options...
IDontEB Posted November 13, 2017 Share Posted November 13, 2017 You dont have enough memory to run anything. With only 1gb of ram total you cannot do much. The operating system needs some and runescape needs some and OSBot needs some and when you use webwalker you'll use a bit more memory to find a path. 1gb of ram simply will not do. 1 Quote Link to comment Share on other sites More sharing options...
tutorialIslandNo Posted November 13, 2017 Author Share Posted November 13, 2017 30 minutes ago, IDontEB said: You dont have enough memory to run anything. With only 1gb of ram total you cannot do much. The operating system needs some and runescape needs some and OSBot needs some and when you use webwalker you'll use a bit more memory to find a path. 1gb of ram simply will not do. Ah ok.. I just saw some posts where people where using 512mb and I started with that obviously didnt work well.... bumped up to 1gb. I have sucesfully been running a script which uses web walking for just over 2 hours so i dunno, next time till get a better system Thanks for your info Quote Link to comment Share on other sites More sharing options...
IDontEB Posted November 13, 2017 Share Posted November 13, 2017 31 minutes ago, tutorialIslandNo said: Ah ok.. I just saw some posts where people where using 512mb and I started with that obviously didnt work well.... bumped up to 1gb. I have sucesfully been running a script which uses web walking for just over 2 hours so i dunno, next time till get a better system Thanks for your info The memory usage of a script varies a lot. Also webwalker uses more ram for further distances. Quote Link to comment Share on other sites More sharing options...
tutorialIslandNo Posted November 13, 2017 Author Share Posted November 13, 2017 4 minutes ago, IDontEB said: The memory usage of a script varies a lot. Also webwalker uses more ram for further distances. will definitely keep this in mind for next time thanks mate Quote Link to comment Share on other sites More sharing options...