(Fresh) server crashes with out of memory error after installation

Hi, I'm new to Stardog and not a (Java) programmer. It's probably I trivial problem but I failed to find a solution. I'm running Stardog on a more or less empty Ubuntu server 8GB RAM, JDK 11.0.10. The installation went without any glitches. But the server crashes upon start with the following message in the log file as per below. I am particularly puzzled by the message that System Memory is 0B even so the server has 8GB RAM. This is before I can load any data. Note that Jena Fuseki runs just fine on the same server.

INFO 2021-04-15 10:11:46,987 [main] com.complexible.stardog.cli.impl.ServerStart:call(263): Memory options

INFO 2021-04-15 10:11:46,987 [main] com.complexible.stardog.cli.impl.ServerStart:call(264): Memory mode: DEFAULT{Starrocks.dict_block_cache=10, Starrocks.block_cache=20, Native.starrocks=70, Heap.dict_value=50, Starrocks.txn_block_cache=5, Heap.dict_index=50, Starrocks.memtable=40, Starrocks.untracked_memory=20, Starrocks.buffer_pool=5, Native.query=30}

INFO 2021-04-15 10:11:46,988 [main] com.complexible.stardog.cli.impl.ServerStart:call(265): Min Heap Size: 2,0G

INFO 2021-04-15 10:11:46,988 [main] com.complexible.stardog.cli.impl.ServerStart:call(266): Max Heap Size: 1,9G

INFO 2021-04-15 10:11:46,988 [main] com.complexible.stardog.cli.impl.ServerStart:call(267): Max Direct Mem: 1,5G

INFO 2021-04-15 10:11:46,989 [main] com.complexible.stardog.cli.impl.ServerStart:call(268): System Memory: 0B

[6729,915s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.

ERROR 2021-04-15 12:03:43,181 [XNIO-1 task-1] io.undertow.request:executeRootHandler(425): UT005071: Undertow request failed HttpServerExchange{ GET /admin/users/valid}

java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached

How did you install Stardog? Direct from zip, docker, apt-get?

Hi Zachary. Apt-get two days ago.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.