Page MenuHomePhabricator

Creating tinyurl of huge query fills up RAM
Open, Needs TriagePublic


When clicking on the "create tinyurl to result" button at a huge query. (like these) The browser starts to fill up the RAM till the computer crashes.

Tested on Ubuntu 18.10 with 4.18 Kernel, Firefox 65.0.1 and 16GiB RAM.

(Here I killed the process)

Event Timeline

GPSLeo created this task.Mar 14 2019, 3:05 PM
Restricted Application added a project: Wikidata. · View Herald TranscriptMar 14 2019, 3:05 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Generally we don't do anything special there with URLs, and this query, while being a healthy 276K (wow) still should be comfortably fitting in memory... I wonder if some browser URL handling routine there doesn't like huge URLs.

In chrome, it doesn't OOM but also doesn't produce tiny URL, instead producing a string of console errors.