This is to fix installing on ubuntu #6.
MaxPermSize is causing the below issue and lowering it to 512m solved the problem.
bin/run.sh: line 27: /home/some_user/git/hackpad/bin/ooffice.sh: no such file or directory
Maximum ram: 1656M
Maximum thread count: 276
Using config file: ./etc/etherpad.local.properties
Error occurred during initialization of VM
Could not reserve enough space for object heap
While this is intended to be a feature, I suspect people select it
accidentally more often than they do intentionally. Selecting this row
issues a request to `/ep/pad/newpad?title=QUERY&r=POSITION`, where QUERY
is the query in the search bar and POSITION is the position of the row.
We saw this kind of URL in the request log for a user who accidentally
created a pad. And anecdotally, I've personally selected this row by
accident.
Even if we remove this feature, it's relatively easy to create a new pad
by clicking the New Pad button, so hopefully we're not taking too much
away from users.
The installation process modified the jar, so it seems like this is an
artifact particular to each person's development environment, not
something that should be checked in.
We observed that users frequently created new pads with titles that look
a lot like search queries. This pollutes workspaces with empty pads.
Worse, these pads have titles optimized for search ranking since they
are named after popular queries, so search results quickly become fairly
useless.
We're not sure exactly what flow leads users to create these pads, but
we suspect that they're clicking the "new pad" button on the search
results page, which fills in a `title` query param based on the search
query. This commit removes the auto-population of the `title` so the
new pad will be given the glorious default title of "Untitled."