Opened 9 years ago

Closed 8 years ago

#364 closed enhancement (wontfix)

HTTP ERROR: 500 Java heap space (or GC overhead limit exceeded) - when trying to start some torrents

Reported by: DISABLED Owned by: Eche|on
Priority: minor Milestone:
Component: apps/i2psnark Version: 0.8.2
Keywords: gc, heap, memory, 500, error Cc:
Parent Tickets: Sensitive: no

Description

I get page:

HTTP ERROR: 500
Java heap space
RequestURI=/i2psnark/_post
Powered by Jetty://

or

HTTP ERROR: 500
GC overhead limit exceeded
RequestURI=/i2psnark/_post
Powered by Jetty://

When I click on the start button on the torrent.
Despite this error, the torrent does start normaly, and shows as running, and dowloads and all, when I reload i2psnark main page.

Reproducable: Always. Also stopping and then starting this affected torrent gives same result.

This happens for the torrent from:
http://tracker2.postman.i2p/details.php?dllist=1&filelist=1&info_hash=%d7%0c%a1%ec%9e%82%3c%7d%d5P%fb%28%0c%f4%8b%e9%1a%d2u%27

Also, short after this bug occurs, the router restarts itself.

Using up to date (auto-update) i2p.

Subtickets

Change History (4)

comment:1 Changed 9 years ago by Eche|on

Owner: set to Eche|on
Priority: majorminor
Status: newassigned
Type: defectenhancement

Please do tell your java version and your system.
Did you raised your java heap memory?
If not, raise it to 128 or 256MB and try to reproduce the error.

echelon

comment:2 Changed 9 years ago by zzz

please post tracebacks from wrapper log

comment:3 Changed 9 years ago by zzz

Yes, you are out of memory. Increase it in wrapper.config. I can try and catch the error in i2psnark and give a nicer error message, but that's about it. I'll do that in 0.8.4.

comment:4 Changed 8 years ago by zzz

Resolution: wontfix
Status: assignedclosed

Closing. Not worth catching the error and making it prettier.

Note: See TracTickets for help on using tickets.