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:

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: #1795defectclosed

Change History (4)

comment:2 Changed 3 years ago by DrHitman27

Add a subticket #1796.

comment:3 Changed 3 years ago by zzz

  • Milestone changed from undecided to 0.9.27
  • Status changed from new to open

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 changed from 0.9.27 to 0.9.28
  • Resolution set to fixed
  • Status changed from open to closed

In 88e8d21c756f1dd5d03e4e01a91becac177c7db7 0.9.27-8

Note: See TracTickets for help on using tickets.