Jump to content

VPS runs out of memory and force quits OSBot


tutorialIslandNo

Recommended Posts

 

 

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 by tutorialIslandNo
Abandoned VPS
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...