Ok, let me try to sum it up:
I have the problem
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create new native threadTo solve this at least step by step is doing:
Decrease memory usage of Nxt with -Xmx and -Xms parameters while starting:
java -Xms300m -Xmx330m -cp nxt.jar:lib/*:conf nxt.Nxt
Before starting, I can modify my config to connect to less peers, which will decrease the RAM usage. Inserting into nxt/conf/nxt.properties (create if not exist)
# Maximum number of inbound connections
nxt.maxNumberOfInboundConnections=10
# Maximum number of outbound connections (increase for better blockchain data)
nxt.maxNumberOfOutboundConnections=20
#Maximum number of connected peers
nxt.maxNumberOfConnectedPublicPeers=20
So far fine?
