like below fixes the issue I get an input stream from a HttpUrlConnection object. The http response is a JSON-formatted web page whose size is larger than 50 Mb. , Is there a way to anticipate an OOM exception ?
seems to work fine What I'm trying to make happen: my PoCo::IRC bot requests for you to sign a message with an RSA key, but the message has a random string for every time you identify (sort of like #bitcoin-otc's gribble bot, but using RSA instead of bitcoin). , I would record the request like this: