You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a 2gb Ubuntu VPS and I'm trying to run twofishes on it. I cannot start twofishes because it usually crashes with an OutofMemoryError. I see two variations:
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
or
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
I have upped the # of mapped files with:
sysctl -w vm.max_map_count = 131072
And I am starting twofishes by restricting the java memory allocation pool:
I tried variations of memory pool size (ie, Xms1g, Xms800m, etc) without success. I also have swap space set to 256mb, although I don't think it's helping.
Are there any optimal settings I can use to get it running on my 2gb instance?
The text was updated successfully, but these errors were encountered:
I have a 2gb Ubuntu VPS and I'm trying to run twofishes on it. I cannot start twofishes because it usually crashes with an
OutofMemoryError
. I see two variations:or
I have upped the # of mapped files with:
And I am starting twofishes by restricting the java memory allocation pool:
I tried variations of memory pool size (ie,
Xms1g
,Xms800m
, etc) without success. I also have swap space set to 256mb, although I don't think it's helping.Are there any optimal settings I can use to get it running on my 2gb instance?
The text was updated successfully, but these errors were encountered: