zlatinb / muwire

MuWire file sharing client for I2P
GNU General Public License v3.0
192 stars 27 forks source link

os::commit_memory(0x00007f45eabed000, 65536, 1) failed; error='Not enough space' (errno=12) #150

Closed slrslr closed 2 years ago

slrslr commented 2 years ago

Hello, I git cloned like 30 minutes back. -> (Updating 4ebdd147..61143890) built (Gradle). Launch MuWire and after a few minutes it crashed while earlier builds was OK, system shows memory Free 8.1Gi.

image

Java 11.0.15 Usually MW shows memory maximum: 15GB (avail.?) and used like 2-3GB

second run seems to be OK (running 30 minutes so far)

zlatinb commented 2 years ago

I can't do much about this error since it's in native code but I recommend you run MuWie with java 18 because that uses a lot less native memory than 11 (the AppImage comes with 18.0.1). The changes in the latest commit would indeed increase the memory usage a bit while loading files, but not to a noticeable degree.

slrslr commented 2 years ago

Thanks. I forgot to mention that my swap free space is 0B. 50 min. MuWire VisualVM runtime

I am using my Linux OS Java stable package but since your advice of using Java18, i stopped building from source and instead now using .AppImage always when you release at Github.

zlatinb commented 2 years ago

As you wish.. I won't be putting a new appimage for another week maybe. You can always build your own AppImage though, see the muwire-pkg project.