Stratehm / stratum-proxy

Java implementation of a stratum->stratum/HTTPGetwork proxy with a Web GUI and some pool switching strategies (PriorityFailover, WeightedRoundRobin). Simple to install and configure.
GNU General Public License v3.0
198 stars 118 forks source link

Memory leak occured and out of memory #108

Open mastermind999 opened 6 years ago

mastermind999 commented 6 years ago

Hello. I opened 2 proxies, 10 L3 each, and after some days they eat almost all of my 32 GB of ram. If i try to open the third i get :

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000758e80000, 305659904, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 305659904 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/crypto2/stratum-proxy-java/stratum-proxy-0.8.1/hs_err_pid26108.log

Any help? Any hint? Why is that happening? At least where to look, maybe i can help fixing the bug.

fship7 commented 5 years ago

@mastermind999 did you ever solve this issue? Do you know what causes it? Perhaps related to the database?