For$
<!-- begin site header -->
<div id=

Author Topic: Cannot get server to load  (Read 13567 times)

atlas

  • Newbie
  • *
  • Posts: 3
    • View Profile
Cannot get server to load
« on: February 16, 2011, 08:14:57 am »
I am starting my server with a little script:
Code: [Select]
cd $(dirname "$0")/bin/
./mineserver config.cfg

located at "/Applications/mineserver/run"

Every time I start the server it goes to 100% cpu usage, and then eventually fails with:

Code: [Select]
Atlas:~ johngalt$ /Applications/mineserver/run ; exit;
mineserver(10246) malloc: *** mmap(size=32768) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
/Applications/mineserver/run: line 2: 10246 Abort trap             
./mineserver config.cfg
logout

[Process completed]

No other output is given, I have installed, and compiled this on a PPC Mac, following the instructions in the wiki, using homebrew. It is running 10.5.8 server, and has xcode 3.1.4.

I am using the stock config.cfg file (https://github.com/fador/mineserver/blob/master/bin/config.cfg)

Any help would be greatly appreciated

atlas

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot get server to load
« Reply #1 on: February 16, 2011, 10:41:39 pm »
fixed as of the latest update