Opened 3 years ago

Closed 3 years ago

#1795 closed defect (fixed)

java.lang.OutOfMemoryError, 123,75MB available memory, ignoring wrapper.java.maxmemory

Reported by: DrHitman27 Owned by: killyourtv
Priority: minor Milestone: 0.9.28
Component: wrapper Version: 0.9.25
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

Log:
WARN [main ] .tunnel.BloomFilterIVValidator: Configured for 6,84MBps share bandwidth but only 123,75MB available memory. Recommend increasing wrapper.java.maxmemory in C:\Program Files (x86)\i2p\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512,00KBps.
WARN: Configured for 16,00MBps share bandwidth but only 123,75MB available memory. Recommend increasing wrapper.java.maxmemory in C:\Program Files (x86)\i2p\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512,00KBps.
20.05.16 CRIT [NTCP Pumper ] net.i2p.router.Router : Thread ran out of memory, shutting down I2P

wrapper.config:
wrapper.java.maxmemory=1024
wrapper.java.initmemory=1024

Only get 123,75MB as wrapper.java.maxmemory.

Subtickets

#1796: #1795closed

Change History (4)

comment:2 Changed 3 years ago by DrHitman27

Add a subticket #1796.

comment:3 Changed 3 years ago by zzz

Milestone: undecided0.9.27
Status: newopen

See #1796, OP was not using wrapper.

We should adjust the warning message (in BloomFilterIVValidator and OOMListener, may be other places also) if no wrapper is present. There's no place in runplain.sh to change the memory setting, and there's no script at all for the Windows no-window icon.

See also #1051 where we're planning to get rid of the non-wrapper option on Windows altogether.

comment:4 Changed 3 years ago by zzz

Milestone: 0.9.270.9.28
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.